projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1397c5d
)
isdn: teles_cs: Fix set-but-unused variables.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:44:12 +0000
(16:44 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:44:12 +0000
(16:44 -0700)
The variable 'dev' is set but unused in teles_cs_config(). Just
kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/teles_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/hisax/teles_cs.c
b/drivers/isdn/hisax/teles_cs.c
index aa25e183bf794947e6687fcc10d599f72fe0385c..360f9ec7c8023e73796ce66a1c6594324c0109a6 100644
(file)
--- 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)