Tag: d4950d5dab78a78c90c0c5cd6113af28cbac516f

USB: mon_main.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. Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/mon/mon_main.c | 12 ++++++++—- 1 file changed, 8 insertions(+), 4 deletions(-)   diff –git a/drivers/usb/mon/mon_main.c b/drivers/usb/mon/mon_main.c index 1040511..f7c292f 100644 …

Continue reading