aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaoyou Xie <[email protected]>2016-09-04 14:33:35 +0800
committerGreg Kroah-Hartman <[email protected]>2016-09-12 12:29:27 +0200
commitec65ef8e8aa15126970a85348359a43a4c5c301a (patch)
tree1176f5f184fce6c920396e5c47871a4706f3c91c /tools/perf/scripts/python
parent5cb6b910680c7002a2ce587c006d7390fd98c32c (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions