cli: remove an extraneous _strip_master_prefix() call

verify_master_for_slave() already ensures the returned string has no prefix.
This commit is contained in:
Lubomir Rintel
2015-04-21 17:29:34 +02:00
parent 00e0fffea2
commit 07912b6e79

View File

@@ -4322,7 +4322,7 @@ complete_slave (NMSettingConnection *s_con,
/* Change properties in 'connection' setting */
g_object_set (s_con,
NM_SETTING_CONNECTION_MASTER, checked_master ? checked_master : _strip_master_prefix (master, NULL),
NM_SETTING_CONNECTION_MASTER, checked_master,
NULL);
g_free (master_ask);