All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gaston Gonzalez <gascoar@gmail.com>
To: linux-staging@lists.linux.dev
Cc: dpenkler@gmail.com, gregkh@linuxfoundation.org, arnd@arndb.de,
	dan.carpenter@oracle.com, ajithpv.linux@gmail.com,
	roheetchavan@gmail.com, niharchaithanya@gmail.com,
	eleanor15x@gmail.com, everestkc@everestkc.com.np,
	kees@ijzerbout.nl, skhan@linuxfoundation.org,
	linux-kernel@vger.kernel.org, gascoar@gmail.com
Subject: [PATCH 5/5] staging: gpib: ines: remove unused variable
Date: Fri,  7 Feb 2025 12:04:13 -0300	[thread overview]
Message-ID: <20250207150427.153982-11-gascoar@gmail.com> (raw)
In-Reply-To: <20250207150427.153982-1-gascoar@gmail.com>

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

This change removes the following warning:

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

Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
---
 drivers/staging/gpib/ines/ines_gpib.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/gpib/ines/ines_gpib.c b/drivers/staging/gpib/ines/ines_gpib.c
index 22a05a287bce..ba07dfb0697a 100644
--- a/drivers/staging/gpib/ines/ines_gpib.c
+++ b/drivers/staging/gpib/ines/ines_gpib.c
@@ -26,10 +26,8 @@ int ines_line_status(const gpib_board_t *board)
 	int status = ValidALL;
 	int bcm_bits;
 	struct ines_priv *ines_priv;
-	struct nec7210_priv *nec_priv;
 
 	ines_priv = board->private_data;
-	nec_priv = &ines_priv->nec7210_priv;
 
 	bcm_bits = ines_inb(ines_priv, BUS_CONTROL_MONITOR);
 
-- 
2.47.2


      parent reply	other threads:[~2025-02-07 15:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07 15:04 [PATCH 0/5] staging: gpib: remove unused variables Gaston Gonzalez
2025-02-07 15:04 ` [PATCH 1/5] staging: gpib: cb7210: remove unused variable Gaston Gonzalez
2025-02-07 15:04 ` [PATCH 2/5] staging: gpib: eastwood: " Gaston Gonzalez
2025-02-07 15:04 ` [PATCH 3/5] staging: gpib: ni_usb: " Gaston Gonzalez
2025-02-07 19:46   ` Kees Bakker
2025-02-07 21:07     ` Gaston Gonzalez
2025-02-07 15:04 ` [PATCH 4/5] staging: gpib: tnt4882: " Gaston Gonzalez
2025-02-07 20:18   ` Kees Bakker
2025-02-07 21:16     ` Gaston Gonzalez
2025-02-07 15:04 ` Gaston Gonzalez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250207150427.153982-11-gascoar@gmail.com \
    --to=gascoar@gmail.com \
    --cc=ajithpv.linux@gmail.com \
    --cc=arnd@arndb.de \
    --cc=dan.carpenter@oracle.com \
    --cc=dpenkler@gmail.com \
    --cc=eleanor15x@gmail.com \
    --cc=everestkc@everestkc.com.np \
    --cc=gregkh@linuxfoundation.org \
    --cc=kees@ijzerbout.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=niharchaithanya@gmail.com \
    --cc=roheetchavan@gmail.com \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.