xps: Add xps_queue_release function
authorTom Herbert <therbert@google.com>
Mon, 28 Nov 2011 16:33:02 +0000 (16:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 17:46:19 +0000 (12:46 -0500)
commit927fbec13e40648d3c87cbb1daaac5b1fb9c8775
tree04fa0c2153a8875a77d7b2505bc8b228aa6d442b
parentc5d67bd78c5dc540e3461c36fb3d389fbe0de4c3
xps: Add xps_queue_release function

This patch moves the xps specific parts in netdev_queue_release into
its own function which netdev_queue_release can call.  This allows
netdev_queue_release to be more generic (for adding new attributes
to tx queues).

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c