diff options
author | Daniel Wagner <[email protected]> | 2012-09-12 16:12:02 +0200 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2012-09-14 09:57:25 -0700 |
commit | 8fb974c937570be38f944986456467b39a2dc252 (patch) | |
tree | 7da095ab6580e0649544799cf7ad0afb77733013 /net/lapb/lapb_iface.c | |
parent | f3419807716be503c06f399b2bcbc68823be3a78 (diff) |
cgroup: net_cls: Do not define task_cls_classid() when not selected
task_cls_classid() should not be defined in case the configuration is
CONFIG_NET_CLS_CGROUP=n. The reason is that in a following patch the
net_cls_subsys_id will only be defined if CONFIG_NET_CLS_CGROUP!=n.
When net_cls is not built at all a callee should only get an empty
task_cls_classid() without any references to net_cls_subsys_id.
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Li Zefan <[email protected]>
Acked-by: Neil Horman <[email protected]>
Cc: Gao feng <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions