device: ethernet: remove unused private member

This commit is contained in:
Beniamino Galvani
2017-07-03 18:45:04 +02:00
parent 6da6323080
commit c521cffd7b

View File

@@ -108,7 +108,6 @@ typedef struct _NMDeviceEthernetPrivate {
/* PPPoE */ /* PPPoE */
NMPPPManager *ppp_manager; NMPPPManager *ppp_manager;
NMIP4Config *pending_ip4_config;
gint32 last_pppoe_time; gint32 last_pppoe_time;
guint pppoe_wait_id; guint pppoe_wait_id;
@@ -1353,11 +1352,6 @@ deactivate (NMDevice *device)
nm_clear_g_source (&priv->pppoe_wait_id); nm_clear_g_source (&priv->pppoe_wait_id);
if (priv->pending_ip4_config) {
g_object_unref (priv->pending_ip4_config);
priv->pending_ip4_config = NULL;
}
if (priv->ppp_manager) { if (priv->ppp_manager) {
nm_ppp_manager_stop_sync (priv->ppp_manager); nm_ppp_manager_stop_sync (priv->ppp_manager);
g_clear_object (&priv->ppp_manager); g_clear_object (&priv->ppp_manager);