netprio_cgroup: Fix build break
authorNeil Horman <nhorman@tuxdriver.com>
Wed, 23 Nov 2011 20:52:58 +0000 (15:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Nov 2011 20:52:58 +0000 (15:52 -0500)
commit8c2152286aabe753519d7627a2992625b97e4b20
tree8208f86c22fd74c30701c827be69a85a40af015a
parent1f2149c1df50c8c712950872675f46e6e44629f0
netprio_cgroup: Fix build break

I broke the build with the addition of netprio_cgroups if CONFIG_CGROUPS=n.
This patch corrects it by moving the offending struct into an ifdef
CONFIG_CGROUPS block.  Also clean up a few needless defines and inline functions
that don't get called if CONFIG_CGROUPS isn't defined while Im at it.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netprio_cgroup.h