]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove useless start_fail from sctp_ht_iter in proc
authorXin Long <lucien.xin@gmail.com>
Mon, 27 Aug 2018 10:40:18 +0000 (18:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Aug 2018 22:13:17 +0000 (15:13 -0700)
commit3c20ea83aa63923a556abfc80c3d1e8b119cec82
tree73f9c5e068b36bd6d430dc320c7e3879c8d42bb4
parentdf5dbda39cfd5874deaa436562b2df69b7f391e4
sctp: remove useless start_fail from sctp_ht_iter in proc

After changing rhashtable_walk_start to return void, start_fail would
never be set other value than 0, and the checking for start_fail is
pointless, so remove it.

Fixes: f8240ec417a6 ("rhashtable: Change rhashtable_walk_start to return void")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/proc.c