Re: rtsock: redundant NULL pointer check

2020-03-24 Thread Claudio Jeker
On Mon, Mar 23, 2020 at 10:36:20PM +0100, Tobias Heider wrote: > It seems that there is no way 'rtm' could actually be NULL here, which > means we can get rid of the check. > > ok? OK claudio@ > Index: net/rtsock.c > === > RCS

rtsock: redundant NULL pointer check

2020-03-23 Thread Tobias Heider
It seems that there is no way 'rtm' could actually be NULL here, which means we can get rid of the check. ok? Index: net/rtsock.c === RCS file: /mount/openbsd/cvs/src/sys/net/rtsock.c,v retrieving revision 1.297 diff -u -p -r1.297