mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 05:00:36 +01:00
libnm: remove redundant check from "nm-setting-bond.c"'s validate_ifname()
This commit is contained in:
parent
f725209bb4
commit
de19631e9f
1 changed files with 0 additions and 3 deletions
|
|
@ -328,9 +328,6 @@ validate_ip (const char *name, const char *value)
|
|||
static gboolean
|
||||
validate_ifname (const char *name, const char *value)
|
||||
{
|
||||
if (!value || !value[0])
|
||||
return FALSE;
|
||||
|
||||
return nm_utils_ifname_valid_kernel (value, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue