isdn: teles_cs: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:44:12 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:44:12 +0000 (16:44 -0700)
The variable 'dev' is set but unused in teles_cs_config().  Just
kill it off.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/teles_cs.c

index aa25e183bf794947e6687fcc10d599f72fe0385c..360f9ec7c8023e73796ce66a1c6594324c0109a6 100644 (file)
@@ -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)