mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 08:00:18 +01:00
ovs/ovsdb: remove the device-changes signal
It doesn't communicate anything about the nature of the change and indeed nothing uses it.
This commit is contained in:
parent
99c7adc1e1
commit
b1feebc43a
2 changed files with 0 additions and 15 deletions
|
|
@ -58,7 +58,6 @@ typedef struct {
|
|||
enum {
|
||||
DEVICE_ADDED,
|
||||
DEVICE_REMOVED,
|
||||
DEVICE_CHANGED,
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
|
|
@ -925,8 +924,6 @@ ovsdb_got_update (NMOvsdb *self, json_t *msg)
|
|||
_LOGT ("changed an '%s' interface: %s%s%s", type, ovs_interface->name,
|
||||
ovs_interface->connection_uuid ? ", " : "",
|
||||
ovs_interface->connection_uuid ?: "");
|
||||
g_signal_emit (self, signals[DEVICE_CHANGED], 0,
|
||||
"ovs-interface", ovs_interface->name);
|
||||
} else {
|
||||
_LOGT ("added an '%s' interface: %s%s%s",
|
||||
ovs_interface->type, ovs_interface->name,
|
||||
|
|
@ -980,8 +977,6 @@ ovsdb_got_update (NMOvsdb *self, json_t *msg)
|
|||
_LOGT ("changed a port: %s%s%s", ovs_port->name,
|
||||
ovs_port->connection_uuid ? ", " : "",
|
||||
ovs_port->connection_uuid ?: "");
|
||||
g_signal_emit (self, signals[DEVICE_CHANGED], 0,
|
||||
NM_SETTING_OVS_PORT_SETTING_NAME, ovs_port->name);
|
||||
} else {
|
||||
_LOGT ("added a port: %s%s%s", ovs_port->name,
|
||||
ovs_port->connection_uuid ? ", " : "",
|
||||
|
|
@ -1030,8 +1025,6 @@ ovsdb_got_update (NMOvsdb *self, json_t *msg)
|
|||
_LOGT ("changed a bridge: %s%s%s", ovs_bridge->name,
|
||||
ovs_bridge->connection_uuid ? ", " : "",
|
||||
ovs_bridge->connection_uuid ?: "");
|
||||
g_signal_emit (self, signals[DEVICE_CHANGED], 0,
|
||||
NM_SETTING_OVS_BRIDGE_SETTING_NAME, ovs_bridge->name);
|
||||
} else {
|
||||
_LOGT ("added a bridge: %s%s%s", ovs_bridge->name,
|
||||
ovs_bridge->connection_uuid ? ", " : "",
|
||||
|
|
@ -1592,11 +1585,4 @@ nm_ovsdb_class_init (NMOvsdbClass *klass)
|
|||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_UINT);
|
||||
|
||||
signals[DEVICE_CHANGED] =
|
||||
g_signal_new (NM_OVSDB_DEVICE_CHANGED,
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_UINT);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#define NM_OVSDB_DEVICE_ADDED "device-added"
|
||||
#define NM_OVSDB_DEVICE_REMOVED "device-removed"
|
||||
#define NM_OVSDB_DEVICE_CHANGED "device-changed"
|
||||
|
||||
typedef struct _NMOvsdb NMOvsdb;
|
||||
typedef struct _NMOvsdbClass NMOvsdbClass;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue