]> git.baikalelectronics.ru Git - kernel.git/commit
cw1200: hwio: Remove an unnecessary goto
authorJoe Perches <joe@perches.com>
Tue, 4 Jun 2013 14:44:50 +0000 (07:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jun 2013 18:41:25 +0000 (14:41 -0400)
commit0e847f99da27eb05a22a4947e61d4502b84cfbaa
treedfef960774abb09bcad284a6b2c093d786f8f3f0
parentc4235673cd7e02450c99bb920593206eb645d046
cw1200: hwio: Remove an unnecessary goto

goto after return is wrong.

The other code in this block needs to set an
error value then goto an error release block.

This one doesn't need to release anything and
was likely a copy/paste remainder.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-By: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/hwio.c