network/ndisc: drop ndisc_request_redirect_route()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Apr 2024 06:04:11 +0000 (15:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Apr 2024 19:59:42 +0000 (04:59 +0900)
commitd9688518ff04890216382547f7d1f69cb4157d55
treea2d2905aa5e488939625378a03f22c66fcfe1548
parentef6495ebb2d06c6b15e3bff550d5376f0ddf6e73
network/ndisc: drop ndisc_request_redirect_route()

It is now called by only ndisc_redirect_handler(), and the check in
ndisc_request_redirect_route() is redundant and already done by
ndisc_redirect_verify_sender().

No functional change, just refactoring.
src/network/networkd-ndisc.c