Skip to content

Commit

Permalink
route/tc: Remove unused function tca_set_kind()
Browse files Browse the repository at this point in the history
The public prototype and the last internal user of the function were
removed in commit 8eb5b55 ("Unified TC API") and it was unexported in
commit 4280dfb ("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>

thom311/libnl#122
  • Loading branch information
tklauser authored and thom311 committed Jan 13, 2017
1 parent ca896c3 commit ecc5e34
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/route/tc.c
Expand Up @@ -239,12 +239,6 @@ int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags,
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 */

Expand Down

0 comments on commit ecc5e34

Please sign in to comment.