Tag: 3383ee4c3abf2efa419ac9c78f097ea1087a4e8e

USB: speedtch.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/speedtch.c | 18 ++++++++++++—— 1 file changed, 12 insertions(+), 6 deletions(-)   diff –git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c …

Continue reading