summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-17 16:37:11 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-17 16:38:03 -0700
commit94dbe1ae44df1d22a391980eb6bd502f937b1af8 (patch)
tree26f815993a0ea8eeeba47a2cc2a5d45b33d7a91a /drivers
parent011bc1ef447dd6aa969d9c83a90fe3df360b5d6e (diff)
isdn: elsa_cs: Fix set-but-unused variables.
The variable 'dev' is set but unused in elsa_cs_config(). Just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/isdn/hisax/elsa_cs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/elsa_cs.c b/drivers/isdn/hisax/elsa_cs.c
index 496d477af0f..9e5e87be756 100644
--- a/drivers/isdn/hisax/elsa_cs.c
+++ b/drivers/isdn/hisax/elsa_cs.c
@@ -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;