HomeFreeBSD

pf: remove pointless NULL check

Description

pf: remove pointless NULL check

pfi_kkif_attach() always returns non-NULL, and we dereference the
pointer before we check it, so that's pointless.

Reported by: Coverity (CID 1007345)
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Apr 21 2022, 12:33 PM
Parents
rG5727eceabc93: ctf: Link CTF toolchain man pages to ctf.5
Branches
Unknown
Tags
Unknown