Tag: f354c8456507e552d86acce84a7abd9bf480c382

USB: usbatm.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: Duncan Sands Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/atm/usbatm.c | 6 ++++– 1 file changed, 4 insertions(+), 2 deletions(-)   diff –git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c …

Continue reading