projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-5.20/parisc-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-2.6-microblaze.git]
/
net
/
tipc
/
name_table.c
diff --git
a/net/tipc/name_table.c
b/net/tipc/name_table.c
index
1d8ba23
..
d118037
100644
(file)
--- a/
net/tipc/name_table.c
+++ b/
net/tipc/name_table.c
@@
-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;
-}