Re: [PATCH] staging: rtl8712: Replace function r8712_init_mlme_priv

2019-05-31 Thread Dan Carpenter
On Fri, May 31, 2019 at 02:25:31AM +0530, Nishka Dasgupta wrote: > 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,

[PATCH] staging: rtl8712: Replace function r8712_init_mlme_priv

2019-05-30 Thread Nishka Dasgupta
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 ---