]> git.baikalelectronics.ru Git - kernel.git/commit
fcoe: use continue instead of goto+label
authorJiri Slaby <jslaby@suse.cz>
Tue, 6 Oct 2015 12:27:45 +0000 (14:27 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 10 Nov 2015 01:06:37 +0000 (17:06 -0800)
commitd6a37d12ec07f5af4037b2eba3b5f58639557aec
tree7c99b707e6c352536d455c1702b7f0abbcc79fd0
parent978ea209a8191a10efac2772668bfc945f0a8762
fcoe: use continue instead of goto+label

There is a label pointing to the start of a while loop and a goto
nested only in the loop. The goto jumps to the label in some cases.
Replace the goto and the label by simple continue.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/fcoe/fcoe.c