]> 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)
commit4a83083a8e437fd3ac3cbb59a7421e1142ee6364
tree73f9c5e068b36bd6d430dc320c7e3879c8d42bb4
parenta63636ef143a8f80efb781280129c7f59ccb7c90
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: 691621aa998f ("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