summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-13 17:18:20 (GMT)
committerThomas Haller <thaller@redhat.com>2017-01-13 17:29:23 (GMT)
commite2d8f05bd9ffc6748d1c02482cba8c693a49557c (patch)
treeba450d08fb2948f388b07795dad25f59cdde71ee /lib
parentc560a37f193dd6d1ae9c4db94eafa8a69f843419 (diff)
downloadlibnl-e2d8f05bd9ffc6748d1c02482cba8c693a49557c.zip
libnl-e2d8f05bd9ffc6748d1c02482cba8c693a49557c.tar.gz
libnl-e2d8f05bd9ffc6748d1c02482cba8c693a49557c.tar.bz2
route/tc: Remove unused function tca_set_kind()
The public prototype and the last internal user of the function were removed in commit 8eb5b5532e ("Unified TC API") and it was unexported in commit 4280dfb85d ("build: don't export internal symbols"), so it is safe to remove it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Thomas Haller <thaller@redhat.com> https://github.com/thom311/libnl/pull/122
Diffstat (limited to 'lib')
-rw-r--r--lib/route/tc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/route/tc.c b/lib/route/tc.c
index 384e857..f5b23f0 100644
--- a/lib/route/tc.c
+++ b/lib/route/tc.c
@@ -239,12 +239,6 @@ nla_put_failure:
return err;
}
-void tca_set_kind(struct rtnl_tc *t, const char *kind)
-{
- strncpy(t->tc_kind, kind, sizeof(t->tc_kind) - 1);
- t->ce_mask |= TCA_ATTR_KIND;
-}
-
/** @endcond */