From: Tony Luck Date: Fri, 13 Jul 2007 23:31:54 +0000 (-0700) Subject: [IA64] Clean away some code inside some non-existent CONFIG ifdefs X-Git-Tag: upstream/snapshot3+hdmi~32405^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f8de2745629330d78776282ea490fece22ee5e4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [IA64] Clean away some code inside some non-existent CONFIG ifdefs Robert P.J. Day has a script that finds places in the code that use non-existent CONFIG variables. It complained of two uses in ia64 specific code: CONFIG_IA64_SDV and CONFIG_KDB (both used in the hp/sim code). Signed-off-by: Tony Luck --- diff --git a/arch/ia64/hp/sim/boot/fw-emu.c b/arch/ia64/hp/sim/boot/fw-emu.c index 300acd9..1189d03 100644 --- a/arch/ia64/hp/sim/boot/fw-emu.c +++ b/arch/ia64/hp/sim/boot/fw-emu.c @@ -329,11 +329,6 @@ sys_fw_init (const char *args, int arglen) strcpy(sal_systab->product_id, "HP-simulator"); #endif -#ifdef CONFIG_IA64_SDV - strcpy(sal_systab->oem_id, "Intel"); - strcpy(sal_systab->product_id, "SDV"); -#endif - /* fill in an entry point: */ sal_ed->type = SAL_DESC_ENTRY_POINT; sal_ed->pal_proc = __pa(pal_desc[0]); diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 324ea75..ef252df 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c @@ -36,10 +36,6 @@ #include #include -#ifdef CONFIG_KDB -# include -#endif - #undef SIMSERIAL_DEBUG /* define this to get some debug information */ #define KEYBOARD_INTR 3 /* must match with simulator! */