[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1342127168-23020-1-git-send-email-marek.belisko@open-nandra.com>
Date: Thu, 12 Jul 2012 23:06:08 +0200
From: Marek Belisko <marek.belisko@...n-nandra.com>
To: mporter@...nel.crashing.org
Cc: linux-kernel@...r.kernel.org,
Marek Belisko <marek.belisko@...n-nandra.com>
Subject: [PATCH] rapidio: tsi721: Fix compilation warning.
Fix following:
drivers/rapidio/devices/tsi721.c: In function ‘tsi721_probe’:
drivers/rapidio/devices/tsi721.c:2215:6: warning: unused variable ‘i’ [-Wunused-variable]
Signed-off-by: Marek Belisko <marek.belisko@...n-nandra.com>
---
drivers/rapidio/devices/tsi721.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c
index 722246c..97e011c 100644
--- a/drivers/rapidio/devices/tsi721.c
+++ b/drivers/rapidio/devices/tsi721.c
@@ -2212,7 +2212,7 @@ static int __devinit tsi721_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{
struct tsi721_device *priv;
- int i, cap;
+ int cap;
int err;
u32 regval;
--
1.7.9.5
--
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