diff options
| author | Kirtika Ruchandani <[email protected]> | 2016-11-23 17:26:06 -0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-11-29 17:27:49 +0200 |
| commit | e9f1db8b6859ceb75f2517cd4b54782d1024360d (patch) | |
| tree | 789088e9048a882e4b14bacec5154721b289d9b5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 60261b266a84efe035aaf4d0a49d826ceb8fb1ab (diff) | |
mwifiex: Remove unused 'pm_flag' variable
mwifiex_sdio_resume() intializes pm_flag, just like
mwifiex_sdio_suspend(), but does not use it. Compiling with W=1 gives
the following warning, fix it.
mwifiex/sdio.c: In function ‘mwifiex_sdio_resume’:
mwifiex/sdio.c:234:16: warning: variable ‘pm_flag’ set but not used [-Wunused-but-set-variable]
sdio_get_host_pm_caps() is just an acessor, so the call to it is safe
to remove. The unused variable seems to be present since
5e6e3a92b9a4 which introduced mwifiex_sdio_resume().
Fixes: 5e6e3a92b9a4 ("wireless: mwifiex: initial commit for Marvell mwifiex driver")
Cc: Bing Zhao <[email protected]>
Cc: Amitkumar Karwar <[email protected]>
Signed-off-by: Kirtika Ruchandani <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions