Re: mountd: Remove dead *netent(3) code

2020-06-05 Thread Klemens Nanni
On Sun, May 24, 2020 at 03:17:31PM +0200, Klemens Nanni wrote: > schwarze neutered the *netent(3) family as well as networks(5) in 2018, > mountd(8) remains the only user of these functions in base. > > setnetent() and endnetent() are empty functions now, getnetent() always > returns NULL uncondit

mountd: Remove dead *netent(3) code

2020-05-24 Thread Klemens Nanni
schwarze neutered the *netent(3) family as well as networks(5) in 2018, mountd(8) remains the only user of these functions in base. setnetent() and endnetent() are empty functions now, getnetent() always returns NULL unconditionally so the while loop is never entered, the entire if block is code t