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:
Antonio Cardace 2020-02-13 18:10:08 +01:00
parent 72f7ad75dc
commit 15e87b80f3

View file

@ -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")) {