From: Martin Kaiser Date: Wed, 5 May 2021 20:26:17 +0000 (+0200) Subject: staging: rtl8188eu: make rtw_android_cmdstr_to_num static X-Git-Tag: v5.15~790^2~313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2752fc4182e2dc148020096b7b2f593523c700f2;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8188eu: make rtw_android_cmdstr_to_num static This function is used only in rtw_android.c. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20210505202622.11087-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/rtw_android.h b/drivers/staging/rtl8188eu/include/rtw_android.h index d7ca7c2..2c26993 100644 --- a/drivers/staging/rtl8188eu/include/rtw_android.h +++ b/drivers/staging/rtl8188eu/include/rtw_android.h @@ -45,7 +45,6 @@ enum ANDROID_WIFI_CMD { ANDROID_WIFI_CMD_MAX }; -int rtw_android_cmdstr_to_num(char *cmdstr); int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd); #endif /* __RTW_ANDROID_H__ */ diff --git a/drivers/staging/rtl8188eu/os_dep/rtw_android.c b/drivers/staging/rtl8188eu/os_dep/rtw_android.c index f1470ac..99475be 100644 --- a/drivers/staging/rtl8188eu/os_dep/rtw_android.c +++ b/drivers/staging/rtl8188eu/os_dep/rtw_android.c @@ -52,7 +52,7 @@ struct android_wifi_priv_cmd { int total_len; }; -int rtw_android_cmdstr_to_num(char *cmdstr) +static int rtw_android_cmdstr_to_num(char *cmdstr) { int cmd_num;