Staging: rtl8192e: mark symbols static where possible
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 4 Sep 2016 06:33:35 +0000 (14:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 10:29:27 +0000 (12:29 +0200)
commitec65ef8e8aa15126970a85348359a43a4c5c301a
tree1176f5f184fce6c920396e5c47871a4706f3c91c
parent5cb6b910680c7002a2ce587c006d7390fd98c32c
Staging: rtl8192e: mark symbols static where possible

We get a few warnings when building kernel with W=1:
drivers/staging/rtl8192e/rtllib_softmac.c:279:13: warning: no previous declaration for 'softmac_ps_mgmt_xmit' [-Wmissing-declarations]
drivers/staging/rtl8192e/rtllib_softmac.c:773:24: warning: no previous declaration for 'rtllib_authentication_req' [-Wmissing-declarations]
....

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.

In addition, some of these functions are declared in different files,
it looks like that we need to clean the codes of this driver up,
but we can repress these warnings first, then clean it up.

so this patch marks these functions with 'static' now.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c