HomeFreeBSD

if_stf: Delete unreachable code

Description

if_stf: 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
rG04989ef426f9: bmake 20230123 gives us .SYSPATH
Branches
Unknown
Tags
Unknown