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)
commit834539e69a5fe2aab33cc777ccfd4a4fcc5b9770
tree73f9c5e068b36bd6d430dc320c7e3879c8d42bb4
parentbab1be79a5169ac748d8292b20c86d874022d7ba
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: 97a6ec4ac021 ("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