Tag: 187859f9ce217a56ba7873d1c32562c02ac516fa

USB: sisusb.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.c | 39 ++++++++++++++++++++++++————- 1 file changed, 26 insertions(+), 13 deletions(-)   diff –git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c …

Continue reading