diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-17 19:37:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 19:38:03 -0400 |
commit | 94dbe1ae44df1d22a391980eb6bd502f937b1af8 (patch) | |
tree | 26f815993a0ea8eeeba47a2cc2a5d45b33d7a91a /drivers/isdn | |
parent | 011bc1ef447dd6aa969d9c83a90fe3df360b5d6e (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/isdn')
-rw-r--r-- | drivers/isdn/hisax/elsa_cs.c | 2 |
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) | |||
129 | 129 | ||
130 | static int __devinit elsa_cs_config(struct pcmcia_device *link) | 130 | static int __devinit elsa_cs_config(struct pcmcia_device *link) |
131 | { | 131 | { |
132 | local_info_t *dev; | ||
133 | int i; | 132 | int i; |
134 | IsdnCard_t icard; | 133 | IsdnCard_t icard; |
135 | 134 | ||
136 | dev_dbg(&link->dev, "elsa_config(0x%p)\n", link); | 135 | dev_dbg(&link->dev, "elsa_config(0x%p)\n", link); |
137 | dev = link->priv; | ||
138 | 136 | ||
139 | link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; | 137 | link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_SET_IO; |
140 | 138 | ||