summaryrefslogtreecommitdiff
path: root/src/lib/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/link.c')
-rw-r--r--src/lib/link.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/link.c b/src/lib/link.c
index db90558..5bce824 100644
--- a/src/lib/link.c
+++ b/src/lib/link.c
@@ -86,8 +86,6 @@ void nl_cli_link_parse_txqlen(struct rtnl_link *link, char *arg)
void nl_cli_link_parse_weight(struct rtnl_link *link, char *arg)
{
- uint32_t weight = nl_cli_parse_u32(arg);
- rtnl_link_set_weight(link, weight);
}
void nl_cli_link_parse_ifalias(struct rtnl_link *link, char *arg)