projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index 3bf72b638d3427ef3f1708b91195ad93b9683f80..9d134636f87c9d8982f83e0b89935c3f7cc2f7c0 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,
};