From: Daniel Wagner Date: Wed, 12 Sep 2012 14:12:02 +0000 (+0200) Subject: cgroup: net_cls: Do not define task_cls_classid() when not selected X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~51^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb974c937570be38f944986456467b39a2dc252;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Neil Horman Cc: Gao feng Cc: Jamal Hadi Salim Cc: John Fastabend Cc: netdev@vger.kernel.org Cc: cgroups@vger.kernel.org --- Reading git-diff-tree failed