Re: [PATCH] staging/rtl8192u: hide unused procfs helpers

2018-07-13 Thread YueHaibing
Pls ignore this, there has a fix. [PATCH] staging/rtl8192u: fix defined but not used build warnings On 2018/7/13 16:01, YueHaibing wrote: > When CONFIG_PROC_FS isn't set, gcc warning this: > > drivers/staging/rtl8192u/r8192U_core.c:508:12: warning: ‘proc_get_stats_ap’ > defined but not used [-W

[PATCH] staging/rtl8192u: hide unused procfs helpers

2018-07-13 Thread YueHaibing
When CONFIG_PROC_FS isn't set, gcc warning this: drivers/staging/rtl8192u/r8192U_core.c:508:12: warning: ‘proc_get_stats_ap’ defined but not used [-Wunused-function] static int proc_get_stats_ap(struct seq_file *m, void *v) ^ drivers/staging/rtl8192u/r8192U_core.c:527:12: warning: ‘p