mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-21 00:10:28 +01:00
nm-setting-ovs-interface: remove unneeded check on 'self'
'self' is guaranteed of being not-NULL since we have the assertion 'g_return_val_if_fail (NM_IS_SETTING_OVS_INTERFACE (self),FALSE);' at the beginning of the function.
This commit is contained in:
parent
72f7ad75dc
commit
15e87b80f3
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ _nm_setting_ovs_interface_verify_interface_type (NMSettingOvsInterface *self,
|
|||
|
||||
NM_SET_OUT (out_modified, FALSE);
|
||||
|
||||
type = self ? self->type : NULL;
|
||||
type = self->type;
|
||||
|
||||
if ( type
|
||||
&& !NM_IN_STRSET (type, "internal", "system", "patch", "dpdk")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue