Re: [PATCH net] sctp: remove useless start_fail from sctp_ht_iter in proc

2018-08-27 Thread David Miller
From: Xin Long Date: Mon, 27 Aug 2018 18:40:18 +0800 > 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

Re: [PATCH net] sctp: remove useless start_fail from sctp_ht_iter in proc

2018-08-27 Thread Marcelo Ricardo Leitner
On Mon, Aug 27, 2018 at 06:40:18PM +0800, Xin Long wrote: > 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

Re: [PATCH net] sctp: remove useless start_fail from sctp_ht_iter in proc

2018-08-27 Thread Neil Horman
On Mon, Aug 27, 2018 at 06:40:18PM +0800, Xin Long wrote: > 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

[PATCH net] sctp: remove useless start_fail from sctp_ht_iter in proc

2018-08-27 Thread Xin Long
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 --- net/sctp/proc.c | 4