From fa809d709e7acb99aa1c74987829ae13d908af38 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 13 Aug 2019 09:25:10 +0200 Subject: ia64: move the ROOT_DEV setup to common code I'm not sure how useful a platform default ROOT_DEV is these days, but it pretty sure isn't machvec dependent. Signed-off-by: Christoph Hellwig Link: https://lkml.kernel.org/r/20190813072514.23299-25-hch@lst.de Signed-off-by: Tony Luck --- arch/ia64/dig/setup.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'arch/ia64/dig/setup.c') diff --git a/arch/ia64/dig/setup.c b/arch/ia64/dig/setup.c index cc14fdce6db6..0b1866d2462a 100644 --- a/arch/ia64/dig/setup.c +++ b/arch/ia64/dig/setup.c @@ -13,13 +13,11 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include @@ -30,13 +28,6 @@ dig_setup (char **cmdline_p) { unsigned int orig_x, orig_y, num_cols, num_rows, font_height; - /* - * Default to /dev/sda2. This assumes that the EFI partition - * is physical disk 1 partition 1 and the Linux root disk is - * physical disk 1 partition 2. - */ - ROOT_DEV = Root_SDA2; /* default to second partition on first drive */ - #ifdef CONFIG_SMP init_smp_config(); #endif -- cgit v1.2.3