diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2016-09-12 17:17:15 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2016-09-20 09:13:09 -0700 |
commit | 5f944e47ea3ec458a1545ca26a42755dca18a9d3 (patch) | |
tree | 97ab80c73eae03ae13dd109bf5e04c9e079eb2d5 /tipc | |
parent | 6831acc8efc1951c3203ff72b5b9e0b8a8750d9d (diff) |
tipc: remove dead code
remove dead code and a newline.
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Diffstat (limited to 'tipc')
-rw-r--r-- | tipc/link.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tipc/link.c b/tipc/link.c index 061b1c53..8bdc9822 100644 --- a/tipc/link.c +++ b/tipc/link.c @@ -90,7 +90,6 @@ static int link_get_cb(const struct nlmsghdr *nlh, void *data) return MNL_CB_OK; } - static int cmd_link_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, void *data) { @@ -475,8 +474,6 @@ static int cmd_link_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, mnl_attr_nest_end(nlh, attrs); return msg_doit(nlh, link_get_cb, &prop); - - return 0; } static int cmd_link_set(struct nlmsghdr *nlh, const struct cmd *cmd, |