2014-02-28 02:06:57

by Daeseok Youn

[permalink] [raw]
Subject: [PATCH] staging: cxt1e1: remove unused variable


Signed-off-by: Daeseok Youn <[email protected]>
---
drivers/staging/cxt1e1/hwprobe.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/cxt1e1/hwprobe.c b/drivers/staging/cxt1e1/hwprobe.c
index 02b4f8f..07de83f 100644
--- a/drivers/staging/cxt1e1/hwprobe.c
+++ b/drivers/staging/cxt1e1/hwprobe.c
@@ -49,10 +49,9 @@ show_two (hdw_info_t *hi, int brdno)
ci_t *ci;
struct pci_dev *pdev;
char *bid;
- char *bp, banner[80];
+ char banner[80];
char sn[6];

- bp = banner;
memset (banner, 0, 80); /* clear print buffer */

ci = (ci_t *)(netdev_priv(hi->ndev));
--
1.7.9.5

---