summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_sample.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_sample.h')
-rw-r--r--include/net/tc_act/tc_sample.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/tc_act/tc_sample.h b/include/net/tc_act/tc_sample.h
index b4fce0fae645..b5d76305e854 100644
--- a/include/net/tc_act/tc_sample.h
+++ b/include/net/tc_act/tc_sample.h
@@ -41,10 +41,4 @@ static inline int tcf_sample_trunc_size(const struct tc_action *a)
return to_sample(a)->trunc_size;
}
-static inline struct psample_group *
-tcf_sample_psample_group(const struct tc_action *a)
-{
- return rcu_dereference_rtnl(to_sample(a)->psample_group);
-}
-
#endif /* __NET_TC_SAMPLE_H */