summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-18 01:44:12 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-18 01:44:12 +0200
commit8c85290d84eaa7b3ba605090987d2136a3302ca9 (patch)
treef2386b7a5bf8a25a6fe9b10b8ba3e4b21387d7cc /drivers
parentisdn: l3ni1: Fix set-but-unused variables. (diff)
downloadlinux-8c85290d84eaa7b3ba605090987d2136a3302ca9.tar.xz
linux-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')
-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)