Commit e0807c4
mISDN: Use list_count_nodes()
count_list_member() really looks the same as list_count_nodes(), so use the
latter instead of hand writing it.
The first one return an int and the other a size_t, but that should be
fine. It is really unlikely that we get so many parties in a conference.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 6e98b09 commit e0807c4
1 file changed
Lines changed: 2 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 144 | | |
156 | 145 | | |
157 | 146 | | |
| |||
1672 | 1661 | | |
1673 | 1662 | | |
1674 | 1663 | | |
1675 | | - | |
| 1664 | + | |
1676 | 1665 | | |
1677 | 1666 | | |
1678 | 1667 | | |
| |||
1695 | 1684 | | |
1696 | 1685 | | |
1697 | 1686 | | |
1698 | | - | |
| 1687 | + | |
1699 | 1688 | | |
1700 | 1689 | | |
1701 | 1690 | | |
| |||
0 commit comments