Skip to content

Commit

Permalink
staging: rtl8188eu: make rtw_android_cmdstr_to_num static
Browse files Browse the repository at this point in the history
This function is used only in rtw_android.c.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210505202622.11087-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Martin Kaiser authored and Greg Kroah-Hartman committed May 10, 2021
1 parent 0e7babd commit 2752fc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/include/rtw_android.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
2 changes: 1 addition & 1 deletion drivers/staging/rtl8188eu/os_dep/rtw_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2752fc4

Please sign in to comment.