mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 23:40:33 +01:00
libnm: drop unused NM_SETTING_PARAM_GENDATA_BACKED property flag
The idea was that properties that are implemented via GENDATA still could have a GObject property. As such, they would be marked with this flag. Currently, gendata properties are only implemented by NMSettingEthtool, and there are no GObject properties where this flag is used. While it might make sense in theory or in the future, it is unused. Drop it.
This commit is contained in:
parent
133f23d39e
commit
5a5e08794e
2 changed files with 0 additions and 5 deletions
|
|
@ -67,8 +67,6 @@ gboolean _nm_setting_clear_secrets (NMSetting *setting,
|
|||
*/
|
||||
#define NM_SETTING_PARAM_REAPPLY_IMMEDIATELY (1 << (6 + G_PARAM_USER_SHIFT))
|
||||
|
||||
#define NM_SETTING_PARAM_GENDATA_BACKED (1 << (7 + G_PARAM_USER_SHIFT))
|
||||
|
||||
extern const NMSettInfoPropertType nm_sett_info_propert_type_deprecated_interface_name;
|
||||
extern const NMSettInfoPropertType nm_sett_info_propert_type_deprecated_ignore_i;
|
||||
extern const NMSettInfoPropertType nm_sett_info_propert_type_deprecated_ignore_u;
|
||||
|
|
|
|||
|
|
@ -590,9 +590,6 @@ property_to_dbus (const NMSettInfoSetting *sett_info,
|
|||
if (!NM_FLAGS_HAS (property->param_spec->flags, G_PARAM_WRITABLE))
|
||||
return NULL;
|
||||
|
||||
if (NM_FLAGS_ANY (property->param_spec->flags, NM_SETTING_PARAM_GENDATA_BACKED))
|
||||
return NULL;
|
||||
|
||||
if ( NM_FLAGS_HAS (property->param_spec->flags, NM_SETTING_PARAM_LEGACY)
|
||||
&& !_nm_utils_is_manager_process)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue