]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_llatbl: change htable_unlink_entry() to early exist if no work to do
authorbz <bz@FreeBSD.org>
Fri, 15 Nov 2019 23:12:19 +0000 (23:12 +0000)
committerbz <bz@FreeBSD.org>
Fri, 15 Nov 2019 23:12:19 +0000 (23:12 +0000)
commita8ddb9b30dd7a4cfed01a16bdf4c512d37148ff6
treec2e4f881b9749587843f4576365dd6dd41368d83
parentad77a7b3cc4cc606899edc75f831fcc0220f54c8
if_llatbl: change htable_unlink_entry() to early exist if no work to do

Adjust the logic in htable_unlink_entry() to the one in
htable_link_entry() saving a block indent and making it more clear
in which case we do not do any work.

No functional change.

MFC after: 3 weeks
Sponsored by: Netflix
sys/net/if_llatbl.c