]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: gpib: eastwood: remove unused variable
authorGaston Gonzalez <gascoar@gmail.com>
Fri, 14 Feb 2025 19:54:42 +0000 (16:54 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2025 15:51:19 +0000 (16:51 +0100)
commitc725363401e228986848c67579153dc259eccb4b
tree2d658434498aaac6c6ded2485a74bb593bee7474
parent99ed5f695fac3d9a4991a8a8b939db58540b406e
staging: gpib: eastwood: remove unused variable

Remove unused variable 'nec_priv' in function 'fluke_line_status'.

This removes the following warning found compiling with W=1:

warning: variable ‘nec_priv’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20250214195456.104075-5-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/eastwood/fluke_gpib.c