summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-15 21:42:59 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:16 -0700
commit18f0045bc86f6b8b50a91fc4e8af4cfdd2379751 (patch)
tree8398d49960801d25ac4721349cdc01fbebf08e08 /namedev.c
parent45d57088f915897fc54ff8a98934b1b34c4cc18f (diff)
[PATCH] remove the %D modifier as it is not longer needed.
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/namedev.c b/namedev.c
index fdda039f59..b3b23521d6 100644
--- a/namedev.c
+++ b/namedev.c
@@ -196,16 +196,6 @@ static void apply_format(struct udevice *udev, unsigned char *string)
strcat(pos, udev->kernel_number);
dbg("substitute kernel number '%s'", udev->kernel_number);
break;
- case 'D':
- if (strlen(udev->kernel_number) == 0) {
- strcat(pos, "disc");
- dbg("substitute devfs disc");
- break;
- }
- strcat(pos, "part");
- strcat(pos, udev->kernel_number);
- dbg("substitute devfs part '%s'", udev->kernel_number);
- break;
case 'm':
sprintf(pos, "%u", udev->minor);
dbg("substitute minor number '%u'", udev->minor);