[PATCH v2] [linux-next] [staging] rtl8821ae: fixed defined-not-used warning

2014-04-30 Thread Jan Moskyto Matejka
by cleaning up BT_AUTO_REPORT_ONLY_8192E_2ANT (always set to 0, never used as constant) halbtc8192e2ant_iswifi_status_changed was called only from the unused code Signed-off-by: Jan Moskyto Matejka --- .../staging/rtl8821ae/btcoexist/halbtc8192e2ant.c | 43 -- .../staging

Re: [PATCH] [linux-next] [staging] rtl8821ae: fixed defined-not-used warning

2014-04-30 Thread Jan Moskyto Matejka
On Wed, Apr 30, 2014 at 02:39:50PM +0200, Paul Bolle wrote: > On Wed, 2014-04-30 at 14:15 +0200, Jan Moskyto Matejka wrote: > > --- a/drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.c > > +++ b/drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.c > > @@ -503,6

[PATCH] [linux-next] [staging] rtl8821ae: fixed defined-not-used warning

2014-04-30 Thread Jan Moskyto Matejka
The function halbtc8192e2ant_iswifi_status_changed is called only at line 4158 which is #if'd in the same way as I'm now #if-ing the function. Signed-off-by: Jan Moskyto Matejka --- drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.c | 2 ++ 1 file changed, 2 insertions(+) di