From: Emil Goode <emilgoode@gmail.com>
To: josh.h.morris@us.ibm.com, pjk1939@linux.vnet.ibm.com
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
Emil Goode <emilgoode@gmail.com>
Subject: [PATCH] block: remove unused variable
Date: Mon, 25 Mar 2013 15:48:21 +0000 [thread overview]
Message-ID: <1364226501-28745-1-git-send-email-emilgoode@gmail.com> (raw)
The struct rsxx_dma pointer tmp is not used, we can remove it.
Introduced by: c95246c3a2ac
("Adding in EEH support to the IBM FlashSystem 70/80 device driver")
Sparse gives a warning:
drivers/block/rsxx/dma.c:1050:19: warning:
unused variable ‘tmp’ [-Wunused-variable]
Signed-off-by: Emil Goode <emilgoode@gmail.com>
---
drivers/block/rsxx/dma.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/block/rsxx/dma.c b/drivers/block/rsxx/dma.c
index d523e9c..bacbaa0 100644
--- a/drivers/block/rsxx/dma.c
+++ b/drivers/block/rsxx/dma.c
@@ -1047,7 +1047,6 @@ void rsxx_eeh_cancel_dmas(struct rsxx_cardinfo *card)
int rsxx_eeh_remap_dmas(struct rsxx_cardinfo *card)
{
struct rsxx_dma *dma;
- struct rsxx_dma *tmp;
int i;
for (i = 0; i < card->n_targets; i++) {
--
1.7.10.4
reply other threads:[~2013-03-25 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1364226501-28745-1-git-send-email-emilgoode@gmail.com \
--to=emilgoode@gmail.com \
--cc=josh.h.morris@us.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pjk1939@linux.vnet.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox