Re: [PATCH] rtl8xxxu: mark symbol static where possible

2016-10-26 Thread David Miller
From: Jakub Sitnicki Date: Wed, 26 Oct 2016 14:37:15 +0200 > On Wed, Oct 26, 2016 at 09:32 AM GMT, Baoyou Xie wrote: >> We get 1 warning when building kernel with W=1: >> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c:1557:6: warning: no >> previous prototype for 'rtl8192eu_power_off' [-

Re: [PATCH] rtl8xxxu: mark symbol static where possible

2016-10-26 Thread Jakub Sitnicki
On Wed, Oct 26, 2016 at 09:32 AM GMT, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c:1557:6: warning: no > previous prototype for 'rtl8192eu_power_off' [-Wmissing-prototypes] > > In fact, this function is only used in th

[PATCH] rtl8xxxu: mark symbol static where possible

2016-10-26 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c:1557:6: warning: no previous prototype for 'rtl8192eu_power_off' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but