mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 12:30:10 +01:00
platform: drop redundant check for plen in nm_platform_ip4_address_generate_device_route()
This commit is contained in:
parent
0634dfd510
commit
ab1fa010a3
1 changed files with 0 additions and 2 deletions
|
|
@ -8975,8 +8975,6 @@ nm_platform_ip4_address_generate_device_route(const NMPlatformIP4Address *addr,
|
|||
|
||||
nm_assert(addr);
|
||||
nm_assert(addr->plen <= 32);
|
||||
if (addr->plen == 0)
|
||||
return NULL;
|
||||
|
||||
if (addr->plen == 0)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue