projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa48bf
)
bql: fix CONFIG_XPS=n build
author
Eric Dumazet
<eric.dumazet@gmail.com>
Sun, 4 Dec 2011 12:38:00 +0000
(12:38 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 5 Dec 2011 23:30:03 +0000
(18:30 -0500)
netdev_queue_release() should be called even if CONFIG_XPS=n
to properly release device reference.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c
patch
|
blob
|
history
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index
3bf72b6
..
9d13463
100644
(file)
--- a/
net/core/net-sysfs.c
+++ b/
net/core/net-sysfs.c
@@
-1221,9
+1221,7
@@
static void netdev_queue_release(struct kobject *kobj)
static struct kobj_type netdev_queue_ktype = {
.sysfs_ops = &netdev_queue_sysfs_ops,
-#ifdef CONFIG_XPS
.release = netdev_queue_release,
-#endif
.default_attrs = netdev_queue_default_attrs,
};