HomeFreeBSD

pf: Remove redundant kif != NULL checks

Description

pf: Remove redundant kif != NULL checks

pf_kkif_free() already checks for NULL, so we don't have to check before
we call it.

Reviewed by: melifaro@
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29195

Details

Provenance
kpAuthored on Mar 10 2021, 2:50 PM
Differential Revision
D29195: pf: Remove redundant kif != NULL checks
Parents
rG5e9dae8e149a: pf: Factor out pf_krule_free()
Branches
Unknown
Tags
Unknown