staging: rtl8723bs: core: Remove Unneeded variable ret
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Wed, 17 Jul 2019 18:06:35 +0000 (23:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:56:05 +0000 (09:56 +0200)
commit1c4bfacf1d70c3daba4733eb1a6450d27422e087
tree87ca0b64db3b6e3efce32a53f2fbfd870616c340
parentfee0cc591ae4e887c1b4304b7d69a7c209b2f24a
staging: rtl8723bs: core: Remove Unneeded variable ret

Remove Unneeded variable ret . Return _FAIL .

We cannot change return type of on_action_spct as its callback function.

Issue identified with coccicheck.

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/20190717180635.GA11412@hari-Inspiron-1545
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c