libnm: remove nm_device_6lowpan_get_hw_address()

Remove the function from a public header. It was missing from libnm.ver
and thus never actually exported.

There's no point in salvaging it now as it nm_device_get_hw_address()
exists as a better option.

(cherry picked from commit bd3239cf6c)
This commit is contained in:
Lubomir Rintel 2022-11-07 23:16:48 +01:00
parent 3c1471d9ca
commit ec500391d6
2 changed files with 0 additions and 25 deletions

View file

@ -49,27 +49,6 @@ nm_device_6lowpan_get_parent(NMDevice6Lowpan *device)
return nml_dbus_property_o_get_obj(&NM_DEVICE_6LOWPAN_GET_PRIVATE(device)->parent);
}
/**
* nm_device_6lowpan_get_hw_address: (skip)
* @device: a #NMDevice6Lowpan
*
* Gets the hardware (MAC) address of the #NMDevice6Lowpan
*
* Returns: the hardware address. This is the internal string used by the
* device, and must not be modified.
*
* Since: 1.14
*
* Deprecated: 1.24: Use nm_device_get_hw_address() instead.
**/
const char *
nm_device_6lowpan_get_hw_address(NMDevice6Lowpan *device)
{
g_return_val_if_fail(NM_IS_DEVICE_6LOWPAN(device), NULL);
return nm_device_get_hw_address(NM_DEVICE(device));
}
/*****************************************************************************/
static void

View file

@ -39,10 +39,6 @@ GType nm_device_6lowpan_get_type(void);
NM_AVAILABLE_IN_1_14
NMDevice *nm_device_6lowpan_get_parent(NMDevice6Lowpan *device);
NM_AVAILABLE_IN_1_14
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
const char *nm_device_6lowpan_get_hw_address(NMDevice6Lowpan *device);
G_END_DECLS
#endif /* __NM_DEVICE_6LOWPAN_H__ */