summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-05-20 16:03:42 -0300
committerDenis Kenzior <denkenz@gmail.com>2011-05-20 15:06:50 -0500
commite31206092832028c794f98088aaa55e602e4973b (patch)
tree05b9be5c4af1986a7f6d2dc519758d75c7f86584 /plugins
parentfba5050f7f3577e3d8edaa77d7779713fe4372ed (diff)
udev: remove set but not used var
Diffstat (limited to 'plugins')
-rw-r--r--plugins/udev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index cbb596dd..0234fc01 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -105,7 +105,7 @@ static void add_mbm(struct ofono_modem *modem,
struct udev_device *udev_device)
{
const char *desc, *devnode;
- const char *device, *data, *network, *gps;
+ const char *device, *data, *network;
int registered;
desc = udev_device_get_sysattr_value(udev_device, "device/interface");
@@ -157,7 +157,6 @@ static void add_mbm(struct ofono_modem *modem,
device = ofono_modem_get_string(modem, MODEM_DEVICE);
data = ofono_modem_get_string(modem, DATA_DEVICE);
network = ofono_modem_get_string(modem, NETWORK_INTERFACE);
- gps = ofono_modem_get_string(modem, GPS_DEVICE);
if (device != NULL && data != NULL && network != NULL) {
ofono_modem_set_integer(modem, "Registered", 1);