mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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>
This commit is contained in:
parent
99ed5f695f
commit
c725363401
|
|
@ -198,10 +198,8 @@ static int fluke_line_status(const gpib_board_t *board)
|
|||
int status = ValidALL;
|
||||
int bsr_bits;
|
||||
struct fluke_priv *e_priv;
|
||||
struct nec7210_priv *nec_priv;
|
||||
|
||||
e_priv = board->private_data;
|
||||
nec_priv = &e_priv->nec7210_priv;
|
||||
|
||||
bsr_bits = fluke_paged_read_byte(e_priv, BUS_STATUS, BUS_STATUS_PAGE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user