summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-device.c
diff options
context:
space:
mode:
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;