diff options
| author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-24 04:25:29 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-29 18:27:48 +0300 |
| commit | 2c2bcabf02e1453c1c8aceb6ee4c0ac62066a3a7 (patch) | |
| tree | 84cd8f8f728fafa2f8a20be5bdc233aa969b5e55 /tools/perf/scripts/python/futex-contention.py | |
| parent | 8ac9134161d9d09ac5cc9df844e35156c54285cb (diff) | |
| download | linux-2c2bcabf02e1453c1c8aceb6ee4c0ac62066a3a7.tar.xz | |
mwifiex: Remove unused 'sta_ptr' variable
Commit 429d90d2212b introduced mwifiex_cmd_tdls_oper() which initializes
struct mwifiex_sta_node* sta_ptr, but does not use it. Compiling with W=1 gives
the following warning, fix it.
mwifiex/sta_cmd.c: In function ‘mwifiex_cmd_tdls_oper’:
mwifiex/sta_cmd.c:1732:27: warning: variable ‘sta_ptr’ set but not used [-Wunused-but-set-variable]
Fixes: 429d90d2212b ("mwifiex: add cfg80211 tdls_oper handler support")
Cc: Avinash Patil <patila@marvell.com>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
