summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-18 01:37:11 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-18 01:38:03 +0200
commit94dbe1ae44df1d22a391980eb6bd502f937b1af8 (patch)
tree26f815993a0ea8eeeba47a2cc2a5d45b33d7a91a
parentisdn: arcofi: Fix set-but-unused variables. (diff)
downloadlinux-94dbe1ae44df1d22a391980eb6bd502f937b1af8.tar.xz
linux-94dbe1ae44df1d22a391980eb6bd502f937b1af8.zip
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>
-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 496d477af0f8..9e5e87be756b 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;