Tag: b87f5671cc76a216465d4e8ba6551991c67e1429

USB: sisusb_con.c: move assignment out of if () block

Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/sisusbvga/sisusb_con.c | 54 ++++++++++++++++++++++———– 1 file changed, 36 insertions(+), 18 deletions(-)   diff –git a/drivers/usb/misc/sisusbvga/sisusb_con.c b/drivers/usb/misc/sisusbvga/sisusb_con.c …

Continue reading