Tag: d544d273f398a40f71012cfd165dba6ef73690c9

USB: hub.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. Acked-by: Alan Stern CC: Dan Williams CC: Petr Mladek CC: Peter Chen Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/core/hub.c | 3 ++- 1 file changed, …

Continue reading