diff options
| author | Brian Norris <computersforpeace@gmail.com> | 2017-07-25 03:00:46 +0300 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2017-07-25 03:04:33 +0300 |
| commit | 1fbef470f3691a4a8afc4937c4ad1901e42901c4 (patch) | |
| tree | 7aa6591d5ea883c187ba66a9b6f4064aa4ff0bea /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | e8e3edb95ce6a146bc774b6cfad3553f4383edc8 (diff) | |
| download | linux-1fbef470f3691a4a8afc4937c4ad1901e42901c4.tar.xz | |
mtd: mtdswap: remove unused variables 'dev' and 'gd'
This was changed recently (commit e8e3edb95ce6 ("mtd: create per-device
and module-scope debugfs entries")) and some compilers are complaining:
drivers//mtd/mtdswap.c: In function 'mtdswap_add_debugfs':
>> drivers//mtd/mtdswap.c:1317: warning: unused variable 'dev'
And once we kill 'dev', 'gd' is also unused.
Cc: Mario J. Rugiero <mrugiero@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
