]> asedeno.scripts.mit.edu Git - linux.git/commit
staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv()
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Fri, 22 Mar 2019 14:38:23 +0000 (20:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Mar 2019 08:50:02 +0000 (09:50 +0100)
commitcb8de77c78c73541edd32eeb62501af1bd73c76a
tree115f07b04ef4377a5814f81bd4aedf7b214a3d2f
parentd4223e06b6aed581625f574ad8faa71b6c0fc903
staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv()

Remove function rtw_init_mlme_priv() as all it does is call
_rtw_init_mlme_priv().
Change the name of _rtw_init_mlme_priv() to rtw_init_mlme_priv() and its
return type to int.
Remove references to _rtw_init_mlme_priv() from the corresponding header
file.
Suggestion to delete return variable from rtw_init_mlme_priv() put forward
by Coccinelle using ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c
drivers/staging/rtl8723bs/include/rtw_mlme.h