staging: rtl8712: Replace function r8712_init_mlme_priv
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 30 May 2019 20:55:31 +0000 (02:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 12:14:55 +0000 (14:14 +0200)
commitfc3e78dfcf52efdf56663cee66068286a8950e03
tree80af9b1a3992575e367f5fd81edc5441e0e64927
parent7ec3ff690ddcb83c438fea75c81baab63432fbb7
staging: rtl8712: Replace function r8712_init_mlme_priv

Delete r8712_init_mlme_priv as it does nothing except call
_init_mlme_priv, and rename _init_mlme_priv to
r8712_init_mlme_priv.
Change the type of the new r8712_init_mlme_priv (formerly _init_mlme_priv)
to (non-static) int, from static sint.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_mlme.c