From e000d7c079636428cbd25ca15fc003fb5892642d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 23 Feb 2012 16:22:05 +0100 Subject: [PATCH] builtin: path_id - remove dead cciss code --- TODO | 2 ++ src/udev-builtin-path_id.c | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 9133da53..00d20145 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,5 @@ + - make "-/usr/bin/foo" non-fail + - find a way to tell udev to not cancel firmware requests in initramfs diff --git a/src/udev-builtin-path_id.c b/src/udev-builtin-path_id.c index fa4d6fb5..b18b1627 100644 --- a/src/udev-builtin-path_id.c +++ b/src/udev-builtin-path_id.c @@ -360,11 +360,6 @@ static struct udev_device *handle_usb(struct udev_device *parent, char **path) return parent; } -static struct udev_device *handle_cciss(struct udev_device *parent, char **path) -{ - return NULL; -} - static struct udev_device *handle_ccw(struct udev_device *parent, struct udev_device *dev, char **path) { struct udev_device *scsi_dev; @@ -414,8 +409,6 @@ static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool handle_scsi_tape(parent, &path); } else if (strcmp(subsys, "scsi") == 0) { parent = handle_scsi(parent, &path); - } else if (strcmp(subsys, "cciss") == 0) { - handle_cciss(parent, &path); } else if (strcmp(subsys, "usb") == 0) { parent = handle_usb(parent, &path); } else if (strcmp(subsys, "serio") == 0) { -- 2.39.5