summary refs log tree commit diff
path: root/src/nm-device-modem.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-02-09 03:16:54 +0100
committerMichael Biebl <biebl@debian.org>2013-02-09 03:16:54 +0100
commite17c5736fc3722ce51cb33f3edb203960125a4c1 (patch)
tree2b41ee92b307915e9d97f0ef2c012fc793653599 /src/nm-device-modem.c
parent9c202e3e860b3be9e1f8882630b69affbb130102 (diff)
Imported Upstream version 0.9.7.997 upstream/0.9.7.997
Diffstat (limited to 'src/nm-device-modem.c')
-rw-r--r--src/nm-device-modem.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/nm-device-modem.c b/src/nm-device-modem.c
index 57f0bf8e..24d9cefb 100644
--- a/src/nm-device-modem.c
+++ b/src/nm-device-modem.c
@@ -254,22 +254,6 @@ complete_connection (NMDevice *device,
 	return nm_modem_complete_connection (priv->modem, connection, existing_connections, error);
 }
 
-static gboolean
-hw_is_up (NMDevice *device)
-{
-	int ifindex = nm_device_get_ip_ifindex (device);
-
-	return ifindex > 0 ? nm_system_iface_is_up (ifindex) : TRUE;
-}
-
-static gboolean
-hw_bring_up (NMDevice *device, gboolean *no_firmware)
-{
-	int ifindex = nm_device_get_ip_ifindex (device);
-
-	return ifindex > 0 ? nm_system_iface_set_up (ifindex, TRUE, no_firmware) : TRUE;
-}
-
 static void
 deactivate (NMDevice *device)
 {
@@ -508,8 +492,6 @@ nm_device_modem_class_init (NMDeviceModemClass *mclass)
 	device_class->get_best_auto_connection = get_best_auto_connection;
 	device_class->check_connection_compatible = check_connection_compatible;
 	device_class->complete_connection = complete_connection;
-	device_class->hw_is_up = hw_is_up;
-	device_class->hw_bring_up = hw_bring_up;
 	device_class->deactivate = deactivate;
 	device_class->act_stage1_prepare = act_stage1_prepare;
 	device_class->act_stage2_config = act_stage2_config;