diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 09:50:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 22:20:49 +0100 |
commit | 4b28cb581dd0df8d8ff19151f39683f641e576ba (patch) | |
tree | 83509766ab4e8c5d48fcbaa187c5069d9d8f88cc /net/tipc/config.c | |
parent | tipc: convert legacy nl media dump to nl compat (diff) | |
download | linux-4b28cb581dd0df8d8ff19151f39683f641e576ba.tar.xz linux-4b28cb581dd0df8d8ff19151f39683f641e576ba.zip |
tipc: convert legacy nl node dump to nl compat
Convert TIPC_CMD_GET_NODES to compat dumpit and remove global node
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 df410823e889..74babd75c07d 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c @@ -205,10 +205,6 @@ struct sk_buff *tipc_cfg_do_cmd(struct net *net, u32 orig_node, u16 cmd, case TIPC_CMD_NOOP: rep_tlv_buf = tipc_cfg_reply_none(); break; - case TIPC_CMD_GET_NODES: - rep_tlv_buf = tipc_node_get_nodes(net, req_tlv_area, - req_tlv_space); - break; case TIPC_CMD_SHOW_STATS: rep_tlv_buf = tipc_show_stats(); break; |