Category: Linux

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

Continue reading

USB: inode.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: Al Viro CC: Peter Chen Acked-by: Alan Stern CC: Andrzej Pietrasiewicz CC: Paul Bolle Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/gadget/legacy/inode.c | 9 ++++++— …

Continue reading

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

USB: 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 CC: Dan Williams CC: Antoine Tenart CC: Petr Mladek CC: Michal Sojka CC: “Rafael J. Wysocki” CC: Sergei Shtylyov Signed-off-by: Greg Kroah-Hartman Reviewed-by: …

Continue reading

USB: fusbh200-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. CC: Sergei Shtylyov Acked-by: Alan Stern CC: Petr Mladek CC: Randy Dunlap CC: Masanari Iida Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/host/fusbh200-hcd.c | 3 ++- …

Continue reading

USB: ehci-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/ehci-dbg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c …

Continue reading

tty: tty_ldsem.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: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/tty_ldsem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/tty/tty_ldsem.c b/drivers/tty/tty_ldsem.c index 0ffb0cb..ad7eba5 100644 …

Continue reading

tty: tty_buffer.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: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/tty_buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 7566164..5b2b0ff 100644 …

Continue reading

tty: synclinkmp.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: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/synclinkmp.c | 12 ++++++++—- 1 file changed, 8 insertions(+), 4 deletions(-)   diff –git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index c3f9091..08633a8 100644 …

Continue reading

tty: synclink_gt.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: Jiri Slaby Signed-off-by: Greg Kroah-Hartman — drivers/tty/synclink_gt.c | 15 ++++++++++—– 1 file changed, 10 insertions(+), 5 deletions(-)   diff –git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index 0e8c39b..0ea8eee 100644 …

Continue reading