Re: mwifiex: fix compile warning of unused variable

2017-07-28 Thread Kalle Valo
obably dead. > > Signed-off-by: Shawn Lin > Reviewed-by: Brian Norris Patch applied to wireless-drivers-next.git, thanks. f46a5b0156b1 mwifiex: fix compile warning of unused variable -- https://patchwork.kernel.org/patch/9827585/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Re: [PATCH] mwifiex: fix compile warning of unused variable

2017-07-25 Thread Kalle Valo
Brian Norris writes: > On Thu, Jul 06, 2017 at 03:50:33PM +0800, Shawn Lin wrote: >> We got a compile warning shows below: >> >> drivers/net/wireless/marvell/mwifiex/sdio.c: In function >> 'mwifiex_sdio_remove': >> drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable >> 'ret' set

Re: [PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Brian Norris
On Thu, Jul 06, 2017 at 03:50:33PM +0800, Shawn Lin wrote: > We got a compile warning shows below: > > drivers/net/wireless/marvell/mwifiex/sdio.c: In function > 'mwifiex_sdio_remove': > drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable > 'ret' set but not used [-Wunused-but-set

Re: [PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Shawn Lin
Hi Kalle, On 2017/7/6 15:57, Kalle Valo wrote: Shawn Lin writes: We got a compile warning shows below: drivers/net/wireless/marvell/mwifiex/sdio.c: In function 'mwifiex_sdio_remove': drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable 'ret' set but not used [-Wunused-but-set

Re: [PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Kalle Valo
Shawn Lin writes: > We got a compile warning shows below: > > drivers/net/wireless/marvell/mwifiex/sdio.c: In function > 'mwifiex_sdio_remove': > drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable > 'ret' set but not used [-Wunused-but-set-variable] > > Per the code, it didn't c

[PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Shawn Lin
We got a compile warning shows below: drivers/net/wireless/marvell/mwifiex/sdio.c: In function 'mwifiex_sdio_remove': drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Per the code, it didn't check if mwifiex_sdio_read_fw_statu