Loading net/tipc/name_table.c +0 −11 Original line number Diff line number Diff line Loading @@ -1202,14 +1202,3 @@ void tipc_dest_list_purge(struct list_head *l) kfree(dst); } } int tipc_dest_list_len(struct list_head *l) { struct tipc_dest *dst; int i = 0; list_for_each_entry(dst, l, list) { i++; } return i; } net/tipc/name_table.h +0 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,5 @@ bool tipc_dest_push(struct list_head *l, u32 node, u32 port); bool tipc_dest_pop(struct list_head *l, u32 *node, u32 *port); bool tipc_dest_del(struct list_head *l, u32 node, u32 port); void tipc_dest_list_purge(struct list_head *l); int tipc_dest_list_len(struct list_head *l); #endif Loading
net/tipc/name_table.c +0 −11 Original line number Diff line number Diff line Loading @@ -1202,14 +1202,3 @@ void tipc_dest_list_purge(struct list_head *l) kfree(dst); } } int tipc_dest_list_len(struct list_head *l) { struct tipc_dest *dst; int i = 0; list_for_each_entry(dst, l, list) { i++; } return i; }
net/tipc/name_table.h +0 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,5 @@ bool tipc_dest_push(struct list_head *l, u32 node, u32 port); bool tipc_dest_pop(struct list_head *l, u32 *node, u32 *port); bool tipc_dest_del(struct list_head *l, u32 node, u32 port); void tipc_dest_list_purge(struct list_head *l); int tipc_dest_list_len(struct list_head *l); #endif