summaryrefslogtreecommitdiffstats
path: root/include/net/tc_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_wrapper.h')
-rw-r--r--include/net/tc_wrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tc_wrapper.h b/include/net/tc_wrapper.h
index ceed2fc089ff..d323fffb839a 100644
--- a/include/net/tc_wrapper.h
+++ b/include/net/tc_wrapper.h
@@ -216,6 +216,8 @@ skip:
return tp->classify(skb, tp, res);
}
+#endif /* CONFIG_NET_CLS */
+
static inline void tc_wrapper_init(void)
{
#ifdef CONFIG_X86
@@ -224,8 +226,6 @@ static inline void tc_wrapper_init(void)
#endif
}
-#endif /* CONFIG_NET_CLS */
-
#else
#define TC_INDIRECT_SCOPE static