[PATCH] remove unused call to hal_util_get_last_element
Guillem Jover
guillem.jover at nokia.com
Fri Feb 13 10:37:27 PST 2009
---
hald/linux/device.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/hald/linux/device.c b/hald/linux/device.c
index 21b9176..e3108e9 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:
--
1.6.0.2
More information about the hal
mailing list