staging: rtl8821ae: Fix potential infinite loop
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 12 Feb 2014 23:10:28 +0000 (17:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 17:18:39 +0000 (09:18 -0800)
commitc3eaaf8b5b01cf076525e23d26269027a8cfe8a6
tree392cdd76fec5d00b8c694ec6b0f802353f58fdd5
parent9f999462c38c1229aa49c51b4e5fec18c6037c01
staging: rtl8821ae: Fix potential infinite loop

Smatch reports the following:
drivers/staging/rtl8821ae/rtl8821ae/hw.c:153 _rtl8821ae_set_fw_clock_on() info: ignoring unreachable code.

Upon investigation, the code in this region has the capability of creating
an infinite loop.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/rtl8821ae/hw.c