Re: [PATCH] mwifiex: sdio: Fix -Wunused-const-variable warnings

2020-09-07 Thread Kalle Valo
YueHaibing wrote: > These variables only used in sdio.c, move them to .c file > can silence these warnings: > > In file included from drivers/net/wireless/marvell/mwifiex//main.h:59:0, > from drivers/net/wireless/marvell/mwifiex//cfp.c:24: >

[PATCH] mwifiex: sdio: Fix -Wunused-const-variable warnings

2020-09-02 Thread YueHaibing
These variables only used in sdio.c, move them to .c file can silence these warnings: In file included from drivers/net/wireless/marvell/mwifiex//main.h:59:0, from drivers/net/wireless/marvell/mwifiex//cfp.c:24: drivers/net/wireless/marvell/mwifiex//sdio.h:705:41: warning: