From: David S. Miller Date: Sun, 17 Apr 2011 23:37:11 +0000 (-0700) Subject: isdn: elsa_cs: Fix set-but-unused variables. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94dbe1ae44df1d22a391980eb6bd502f937b1af8;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 --- 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;