summaryrefslogtreecommitdiff
path: root/libudev/libudev-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'libudev/libudev-device.c')
-rw-r--r--libudev/libudev-device.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libudev/libudev-device.c b/libudev/libudev-device.c
index 410f75b300..75cc61c5fc 100644
--- a/libudev/libudev-device.c
+++ b/libudev/libudev-device.c
@@ -63,7 +63,6 @@ struct udev_device {
unsigned long long int seqnum;
int event_timeout;
int timeout;
- int num_fake_partitions;
int devlink_priority;
int refcount;
dev_t devnum;
@@ -284,9 +283,6 @@ int udev_device_read_db(struct udev_device *udev_device)
case 'T':
udev_device_set_event_timeout(udev_device, atoi(val));
break;
- case 'A':
- udev_device_set_num_fake_partitions(udev_device, atoi(val));
- break;
case 'R':
udev_device_set_ignore_remove(udev_device, atoi(val));
break;
@@ -1425,19 +1421,6 @@ int udev_device_set_devnum(struct udev_device *udev_device, dev_t devnum)
return 0;
}
-int udev_device_get_num_fake_partitions(struct udev_device *udev_device)
-{
- if (!udev_device->info_loaded)
- device_load_info(udev_device);
- return udev_device->num_fake_partitions;
-}
-
-int udev_device_set_num_fake_partitions(struct udev_device *udev_device, int num)
-{
- udev_device->num_fake_partitions = num;
- return 0;
-}
-
int udev_device_get_devlink_priority(struct udev_device *udev_device)
{
if (!udev_device->info_loaded)