Skip to contentSkip to conversation

isdn: teles_cs: Fix set-but-unused variables.

PATCH In review David Miller 1 participant 1 message Apr 18, 2011

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 26/42 isdn: teles_cs: Fix set-but-unused variables.

The variable 'dev' is set but unused in teles_cs_config(). Just kill it off.

---
 drivers/isdn/hisax/teles_cs.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/isdn/hisax/teles_cs.c +0 -2
index aa25e18..360f9ec 100644
@@ -111,12 +111,10 @@ static int teles_cs_configcheck(struct pcmcia_device *p_dev, void *priv_data)
 
 static int __devinit teles_cs_config(struct pcmcia_device *link)
 {
-    local_info_t *dev;
     int i;
     IsdnCard_t icard;
 
     dev_dbg(&link->dev, "teles_config(0x%p)\n", link);
-    dev = link->priv;
 
     i = pcmcia_loop_config(link, teles_cs_configcheck, NULL);
     if (i != 0)
Signature · 1 line
1.7.4.3