net: if: split the search loop of net_if_ipv6_addr_rm()
First search for a match, then perform the removal outside the loop.
There is no functional change but this prepares for some future changes.
Signed-off-by:
Florian Vaussard <florian.vaussard@gmail.com>
Loading
Please sign in to comment