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

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

index 496d477af0f82fe428798c208e858d407e93d9a8..9e5e87be756b179db066467b8c3eefdba1d67b9c 100644 (file)
@@ -129,12 +129,10 @@ static int elsa_cs_configcheck(struct pcmcia_device *p_dev, void *priv_data)
 
 static int __devinit elsa_cs_config(struct pcmcia_device *link)
 {
-    local_info_t *dev;
     int i;
     IsdnCard_t icard;
 
     dev_dbg(&link->dev, "elsa_config(0x%p)\n", link);
-    dev = link->priv;
 
     link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO;