summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-device.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-05-04 22:08:05 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-05-04 22:08:05 +0200
commite3196993f1f7fdd9fb7fbf4eeb397080554ae920 (patch)
tree7bfd7594fa46b1018db7e634a11ea0610963e817 /udev/lib/libudev-device.c
parentefca104ccfa8894b84ad4ec56388780ff317ced7 (diff)
remove all PHYSDEVPATH handling and warning about
Diffstat (limited to 'udev/lib/libudev-device.c')
-rw-r--r--udev/lib/libudev-device.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index 8e29efff86..ddc4b34115 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -36,7 +36,6 @@ struct udev_device {
char *driver;
char *action;
char *devpath_old;
- char *physdevpath;
char *knodename;
char **envp;
char *monitor_buf;
@@ -625,7 +624,6 @@ void udev_device_unref(struct udev_device *udev_device)
free(udev_device->driver);
free(udev_device->devpath_old);
free(udev_device->knodename);
- free(udev_device->physdevpath);
udev_list_cleanup_entries(udev_device->udev, &udev_device->sysattr_list);
free(udev_device->envp);
free(udev_device->monitor_buf);
@@ -1192,19 +1190,6 @@ int udev_device_set_knodename(struct udev_device *udev_device, const char *knode
return 0;
}
-const char *udev_device_get_physdevpath(struct udev_device *udev_device)
-{
- return udev_device->physdevpath;
-}
-
-int udev_device_set_physdevpath(struct udev_device *udev_device, const char *physdevpath)
-{
- udev_device->physdevpath = strdup(physdevpath);
- if (udev_device->physdevpath == NULL)
- return -ENOMEM;
- return 0;
-}
-
int udev_device_get_timeout(struct udev_device *udev_device)
{
return udev_device->timeout;