diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-10-05 06:19:12 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-15 20:51:46 +0200 |
commit | 5fe9f6ccbb7bc82a92e5d32b3eb68eebb3ea4a93 (patch) | |
tree | 50fb5c1733500654176ab1a9f9354eed677f2a81 /drivers/misc/eeprom/Kconfig | |
parent | 6eaafbb6998e999467cf78a76e155ee00e372b14 (diff) |
eeprom: at25: remove unneeded 'at25_remove'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/misc/eeprom/at25.c: In function 'at25_remove':
drivers/misc/eeprom/at25.c:384:20: warning:
variable 'at25' set but not used [-Wunused-but-set-variable]
Since commit 96d08fb43e30 ("eeprom: at25: use devm_nvmem_register()"),
at25_remove is do nothing, so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom/Kconfig')
0 files changed, 0 insertions, 0 deletions