eeprom: idt_89hpesx: remove unneeded csr_file variable
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 18:17:00 +0000 (20:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2019 17:39:28 +0000 (19:39 +0200)
commitf506a547a9f4dc40fc24a176a98058c94108185b
tree68f5e8ceec5a3797b283e60ef3561a9bc24bff27
parent7603eab4a5433f825c5f8d9ccc29c490adb4edbd
eeprom: idt_89hpesx: remove unneeded csr_file variable

The csr_file variable was only ever set, never read.  So remove it from
struct idt_89hpesx_dev as it is pointless to keep around.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/idt_89hpesx.c