summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem.jover@nokia.com>2009-02-21 11:50:36 +0100
committerDanny Kukawka <danny.kukawka@web.de>2009-02-21 11:50:36 +0100
commita61f1e9756dd4f0d069ebce1654fd31d897745b0 (patch)
tree798a5ca83396d032e61979f7385c2e5074820ead
parent246f467e1ed21b6f4f882c6d93415222c821fe1e (diff)
remove unused call to hal_util_get_last_element
Remoced unused call to hal_util_get_last_element in memstick_add().
-rw-r--r--hald/linux/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hald/linux/device.c b/hald/linux/device.c
index 21b9176c..e3108e9e 100644
--- a/hald/linux/device.c
+++ b/hald/linux/device.c
@@ -1346,7 +1346,6 @@ static HalDevice *
memstick_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_dev, const gchar *parent_path)
{
HalDevice *d;
- const gchar *bus_id;
if (parent_dev == NULL) {
d = NULL;
@@ -1359,8 +1358,6 @@ memstick_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *pare
hal_util_set_driver (d, "info.linux.driver", sysfs_path);
- bus_id = hal_util_get_last_element (sysfs_path);
-
hal_util_set_string_from_file (d, "info.product", sysfs_path, "attr_modelname");
out: