]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: removes redundant 'continue' in while loop conditional blocks
authorTahia Khan <tahia.khan@gmail.com>
Wed, 8 Mar 2017 23:21:38 +0000 (18:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:55:09 +0000 (14:55 +0100)
commitb5e3ab418749aed6b4d1a3a982c7c388ccdaa622
treecd92382dc057de850803b6f5b48494276c3e7379
parentcdba615d2f3fd97a539eea14fb05b36623a02611
staging: wilc1000: removes redundant 'continue' in while loop conditional blocks

Removing 6 continue statements from a while loop. The
continue statements are redundant here since control
already returns to the beginning of the loop upon exit
of any of the conditional blocks. Found using Coccinelle.

Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c