rtlwifi: remove superfluous condition
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 2 Aug 2016 19:26:21 +0000 (21:26 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 10:03:03 +0000 (13:03 +0300)
commitf898005ff99f348febba88dff8840df6e4367758
tree5717b4aafef071d822c9d9557902984e8b48574e
parentaf8a9a67c3466f70ab28a112d18eb5d327d40ca2
rtlwifi: remove superfluous condition

If sta == NULL, the changed line will not be reached.
So no need to check that sta != NULL here.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/core.c