HomeFreeBSD

ip_mroute: Delete unreachable code

Description

ip_mroute: Delete unreachable code

As the flag M_WAITOK is passed to ip_encap_attach(), then the function
will never return NULL, and the following code within NULL check branch
will be unreachable.

No functional change intended.

Reviewed by: kp
Fixes: 6d8fdfa9d5e7d Rework IP encapsulation handling code
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D39746

Details

Provenance
zleiAuthored on Apr 23 2023, 4:47 AM
Reviewer
rG6d8fdfa9d5e7: Rework IP encapsulation handling code.
Differential Revision
D39746: Delete unreachable code
Parents
rGc373e1d6adbc: if_stf: Delete unreachable code
Branches
Unknown
Tags
Unknown