[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1364226501-28745-1-git-send-email-emilgoode@gmail.com>
Date: Mon, 25 Mar 2013 16:48:21 +0100
From: Emil Goode <emilgoode@...il.com>
To: josh.h.morris@...ibm.com, pjk1939@...ux.vnet.ibm.com
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Emil Goode <emilgoode@...il.com>
Subject: [PATCH] block: remove unused variable
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists