]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: remove dead code
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 28 Sep 2015 21:52:33 +0000 (22:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:30:07 +0000 (04:30 +0200)
commit0e5e79d43ecdfafc3304a7ec77c1c96912d616f4
treed181b92745a781da864ee54acb285774b47ef4d4
parentf885af30b8b5722b1c8a6f6da78cfcba9a6bc8fa
staging: rtl8712: remove dead code

The while() loop will only exit in a return or a goto ask_for_joinbss,
which means it will never break and execute the return after it.
Removing return _FAIL since it is dead code.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_mlme.c