]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_llatbl: change htable_unlink_entry() to early exist if no work to do
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 15 Nov 2019 23:12:19 +0000 (23:12 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 15 Nov 2019 23:12:19 +0000 (23:12 +0000)
commitd9a61c960c4caa46c3e145c0ed5f513af3103d3b
treec2e4f881b9749587843f4576365dd6dd41368d83
parent5caa67fa840e33df3a8a8edb16392116aa028ba1
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