aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-05 01:31:18 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:30 -0500
commit83380cc1c9694a05bcdb7c95d293e99d3475d906 (patch)
tree2c5557aeff8d1831fb0ccc87f47bb0ffe3a484cd /arch/um/drivers
parentbf53d85ec20c228e0efdadbdb12c0f92283fcfd0 (diff)
uml: remove fakehd
The fakehd switch lost its implementation at some point. Since no one is screaming for it, we might as well remove it. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/ubd_kern.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index b498f2740100..be3a2797dac4 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -460,20 +460,6 @@ __uml_help(udb_setup,
460" in the boot output.\n\n" 460" in the boot output.\n\n"
461); 461);
462 462
463static int fakehd_set = 0;
464static int fakehd(char *str)
465{
466 printk(KERN_INFO "fakehd : Changing ubd name to \"hd\".\n");
467 fakehd_set = 1;
468 return 1;
469}
470
471__setup("fakehd", fakehd);
472__uml_help(fakehd,
473"fakehd\n"
474" Change the ubd device name to \"hd\".\n\n"
475);
476
477static void do_ubd_request(struct request_queue * q); 463static void do_ubd_request(struct request_queue * q);
478 464
479/* Only changed by ubd_init, which is an initcall. */ 465/* Only changed by ubd_init, which is an initcall. */
@@ -722,8 +708,10 @@ static int ubd_add(int n, char **error_out)
722 ubd_disk_register(fake_major, ubd_dev->size, n, 708 ubd_disk_register(fake_major, ubd_dev->size, n,
723 &fake_gendisk[n]); 709 &fake_gendisk[n]);
724 710
725 /* perhaps this should also be under the "if (fake_major)" above */ 711 /*
726 /* using the fake_disk->disk_name and also the fakehd_set name */ 712 * Perhaps this should also be under the "if (fake_major)" above
713 * using the fake_disk->disk_name
714 */
727 if (fake_ide) 715 if (fake_ide)
728 make_ide_entries(ubd_gendisk[n]->disk_name); 716 make_ide_entries(ubd_gendisk[n]->disk_name);
729 717