]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Avoid unused variable warnings
authorDave Penkler <dpenkler@gmail.com>
Sun, 27 Apr 2025 09:31:23 +0000 (11:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 May 2025 15:55:07 +0000 (17:55 +0200)
commit417ce77ef466580c2850fdd4a7bf5f0a97147cb8
treeba1254a14cbb1fb607e6a3d7224cf39a381c3054
parent75d9d7c29b7f00045d859226592f2917b31b997e
staging: gpib: Avoid unused variable warnings

This addresses warnings produced by make W=1 with the configuration
parameter CONFIG_GPIB_PCMCIA=y

cb7210/cb7210.c:1251:28: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
cb7210/cb7210.c:1250:31: warning: variable 'handle' set but not used [-Wunused-but-set-variable]

Remove the declarations and assignments of the unused variables.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250427093123.18565-1-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/cb7210/cb7210.c