]> 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)
commitb0e3b9c84659108a301593cf41bc6d3a8a6c1f0a
treedfef960774abb09bcad284a6b2c093d786f8f3f0
parent2538410e85dbd2071242149522a5d77b06eebef4
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