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 …
Catégorie : Linux
Apr 30 2015
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 …
Apr 30 2015
USB: sisusb_con.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: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/sisusbvga/sisusb_con.c | 54 ++++++++++++++++++++++———– 1 file changed, 36 insertions(+), 18 deletions(-) diff –git a/drivers/usb/misc/sisusbvga/sisusb_con.c b/drivers/usb/misc/sisusbvga/sisusb_con.c …
Apr 30 2015
USB: sisusb.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: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/sisusbvga/sisusb.c | 39 ++++++++++++++++++++++++————- 1 file changed, 26 insertions(+), 13 deletions(-) diff –git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c …
Apr 30 2015
USB: ohci-q.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-q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff –git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c …
Apr 30 2015
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 …
Apr 30 2015
USB: ohci-dbg.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-dbg.c | 6 ++++– 1 file changed, 4 insertions(+), 2 deletions(-) diff –git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c …
Apr 30 2015
USB: mon_stat.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_stat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff –git a/drivers/usb/mon/mon_stat.c b/drivers/usb/mon/mon_stat.c index ebd6189..5388a33 100644 …
Apr 30 2015
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 …
Apr 30 2015
USB: mon_bin.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_bin.c | 7 ++++— 1 file changed, 4 insertions(+), 3 deletions(-) diff –git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index 9a62e89..3598f1a 100644 …