projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e71094f
)
caif: Remove unused pointer and code
author
Kim Lilliestierna XX
<
[email protected]
>
Mon, 25 Jun 2012 07:49:33 +0000
(07:49 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 25 Jun 2012 23:44:11 +0000
(16:44 -0700)
Removed surplus call to caif_device_list() in caif_dev.c
Signed-off-by: Kim Lilliestierna <
[email protected]
>
Signed-off-by: Sjur Brændeland <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/caif/caif_dev.c
patch
|
blob
|
history
diff --git
a/net/caif/caif_dev.c
b/net/caif/caif_dev.c
index 554b3128960776af52c2cd9869e14fdad224566c..e601da7ca2ff610905f74862a4bf7e2e15e319f5 100644
(file)
--- a/
net/caif/caif_dev.c
+++ b/
net/caif/caif_dev.c
@@
-90,11
+90,8
@@
static int caifd_refcnt_read(struct caif_device_entry *e)
/* Allocate new CAIF device. */
static struct caif_device_entry *caif_device_alloc(struct net_device *dev)
{
- struct caif_device_entry_list *caifdevs;
struct caif_device_entry *caifd;
- caifdevs = caif_device_list(dev_net(dev));
-
caifd = kzalloc(sizeof(*caifd), GFP_KERNEL);
if (!caifd)
return NULL;