diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 09:50:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 13:20:48 -0800 |
commit | 357ebdbfca0baa9a8d8d85307393e9ec3406affc (patch) | |
tree | e12b5c96459aad150b2e66a417634d39be0a14cd /net/tipc/config.c | |
parent | f2b3b2d4ccbf9666f5f42a21347cd1aaa532b2fa (diff) | |
download | linux-357ebdbfca0baa9a8d8d85307393e9ec3406affc.tar.gz linux-357ebdbfca0baa9a8d8d85307393e9ec3406affc.tar.bz2 linux-357ebdbfca0baa9a8d8d85307393e9ec3406affc.zip |
tipc: convert legacy nl link dump to nl compat
Convert TIPC_CMD_GET_LINKS to compat dumpit and remove global link
counter solely used by the legacy API.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/config.c')
-rw-r--r-- | net/tipc/config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c index 67b76ee847f3..1b17f5846e86 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c @@ -209,10 +209,6 @@ struct sk_buff *tipc_cfg_do_cmd(struct net *net, u32 orig_node, u16 cmd, rep_tlv_buf = tipc_node_get_nodes(net, req_tlv_area, req_tlv_space); break; - case TIPC_CMD_GET_LINKS: - rep_tlv_buf = tipc_node_get_links(net, req_tlv_area, - req_tlv_space); - break; case TIPC_CMD_RESET_LINK_STATS: rep_tlv_buf = tipc_link_cmd_reset_stats(net, req_tlv_area, req_tlv_space); |