summaryrefslogtreecommitdiff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-17 16:44:12 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-17 16:44:12 -0700
commit8c85290d84eaa7b3ba605090987d2136a3302ca9 (patch)
treef2386b7a5bf8a25a6fe9b10b8ba3e4b21387d7cc /drivers/isdn
parent1397c5df2547f3296ad37a0c77daff3b124b98c8 (diff)
downloadlinux-stable-8c85290d84eaa7b3ba605090987d2136a3302ca9.tar.gz
linux-stable-8c85290d84eaa7b3ba605090987d2136a3302ca9.tar.bz2
linux-stable-8c85290d84eaa7b3ba605090987d2136a3302ca9.zip
isdn: teles_cs: Fix set-but-unused variables.
The variable 'dev' is set but unused in teles_cs_config(). Just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/teles_cs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c
index aa25e183bf79..360f9ec7c802 100644
--- a/drivers/isdn/hisax/teles_cs.c
+++ b/drivers/isdn/hisax/teles_cs.c
@@ -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)