diff options
author | greg@kroah.com <greg@kroah.com> | 2004-01-15 21:42:59 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:16 -0700 |
commit | 18f0045bc86f6b8b50a91fc4e8af4cfdd2379751 (patch) | |
tree | 8398d49960801d25ac4721349cdc01fbebf08e08 /namedev.c | |
parent | 45d57088f915897fc54ff8a98934b1b34c4cc18f (diff) |
[PATCH] remove the %D modifier as it is not longer needed.
Diffstat (limited to 'namedev.c')
-rw-r--r-- | namedev.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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); |