diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-12-04 12:38:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-05 18:30:03 -0500 |
commit | b474ae77609b725098d5a7cc8f69c1c528710d53 (patch) | |
tree | 3f244ce8da02b04b85974a3d46c6eaf912497c8b | |
parent | 4fa48bf3c75069d636fc8830743c929a062e80dc (diff) |
bql: fix CONFIG_XPS=n build
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>
-rw-r--r-- | net/core/net-sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 3bf72b638d3..9d134636f87 100644 --- 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, }; |