Tag: 71f46340738322246285a40e25c1c3457a7d986b

USB: ohci-hcd.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 Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/host/ohci-hcd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c …

Continue reading