> From: Kirtika Ruchandani [mailto:kirtika.ruchandani@xxxxxxxxx] > Sent: Thursday, November 24, 2016 6:54 AM > To: Amitkumar Karwar > Cc: Arnd Bergmann; Kalle Valo; linux-wireless@xxxxxxxxxxxxxxx; Nishant > Sarmukadam; Zhaoyang Liu; Bing Zhao; Xinming Hu; Avinash Patil > Subject: [PATCH v2 0/7] Fix -Wunused-but-set-variable in mwifiex/ > > This patchset is part of the effort led by Arnd Bergmann to clean up > warnings in the kernel. This and following patchsets will focus on "- > Wunused-but-set-variable" as it among the noisier ones. These were > found compiling with W=1. > > Acked-by: Arnd Bergmann <arnd@xxxxxxxx> > Signed-off-by: Kirtika Ruchandani <kirtika@xxxxxxxxxx> > > --- > Changes in v2: > - Reapplied patches on top of wireless-drivers-next. > - Patch 5/7 ("mwifiex: Remove unused 'pm_flag' variable") had to be > redone slightly. The others applied cleanly with 'patch -p1'. > > Kirtika Ruchandani (7): > mwifiex: Removed unused mwifiex_private* 'priv' variable > mwifiex: Remove unused 'chan_num' variable > mwifiex: Remove unused 'sta_ptr' variable > mwifiex: Remove unused 'adapter'variable > mwifiex: Remove unused 'pm_flag' variable > mwifiex: Removed unused 'pkt_type' variable > mwifiex: Remove unused 'bcd_usb' variable > > drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 -- > drivers/net/wireless/marvell/mwifiex/main.c | 3 --- > drivers/net/wireless/marvell/mwifiex/scan.c | 8 +++----- > drivers/net/wireless/marvell/mwifiex/sdio.c | 5 ----- > drivers/net/wireless/marvell/mwifiex/sta_cmd.c | 2 -- > drivers/net/wireless/marvell/mwifiex/usb.c | 3 +-- > 6 files changed, 4 insertions(+), 19 deletions(-) > > -- Thanks for this cleanup work. Patch series looks fine to me. Acked-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> Regards, Amitkumar