aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/name_table.c')
-rw-r--r--net/tipc/name_table.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c
index 9ca4b0689237..3a8de4334da1 100644
--- a/net/tipc/name_table.c
+++ b/net/tipc/name_table.c
@@ -1009,16 +1009,6 @@ static void nametbl_list(struct print_buf *buf, u32 depth_info,
1009 } 1009 }
1010} 1010}
1011 1011
1012#if 0
1013void tipc_nametbl_print(struct print_buf *buf, const char *str)
1014{
1015 tipc_printf(buf, str);
1016 read_lock_bh(&tipc_nametbl_lock);
1017 nametbl_list(buf, 0, 0, 0, 0);
1018 read_unlock_bh(&tipc_nametbl_lock);
1019}
1020#endif
1021
1022#define MAX_NAME_TBL_QUERY 32768 1012#define MAX_NAME_TBL_QUERY 32768
1023 1013
1024struct sk_buff *tipc_nametbl_get(const void *req_tlv_area, int req_tlv_space) 1014struct sk_buff *tipc_nametbl_get(const void *req_tlv_area, int req_tlv_space)
@@ -1051,13 +1041,6 @@ struct sk_buff *tipc_nametbl_get(const void *req_tlv_area, int req_tlv_space)
1051 return buf; 1041 return buf;
1052} 1042}
1053 1043
1054#if 0
1055void tipc_nametbl_dump(void)
1056{
1057 nametbl_list(TIPC_CONS, 0, 0, 0, 0);
1058}
1059#endif
1060
1061int tipc_nametbl_init(void) 1044int tipc_nametbl_init(void)
1062{ 1045{
1063 table.types = kcalloc(tipc_nametbl_size, sizeof(struct hlist_head), 1046 table.types = kcalloc(tipc_nametbl_size, sizeof(struct hlist_head),