Messages in this thread | | | Date | Tue, 25 Jul 2017 10:02:08 -0700 | From | Brian Norris <> | Subject | Re: [PATCH] mtd: remove unused variable in mtdswap |
| |
On Tue, Jul 25, 2017 at 05:41:58PM +0200, Arnd Bergmann wrote: > The only user of this variable was removed, leading to a > new harmless warning: > > drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs': > drivers/mtd/mtdswap.c:1317:17: error: unused variable 'dev' [-Werror=unused-variable] > > This removes the variable as well. > > Fixes: e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries") > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
I beat you to it:
https://patchwork.ozlabs.org/patch/793136/ [PATCH] mtd: mtdswap: remove unused variables 'dev' and 'gd'
| |