]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Clean away some code inside some non-existent CONFIG ifdefs
authorTony Luck <tony.luck@intel.com>
Fri, 13 Jul 2007 23:31:54 +0000 (16:31 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 13 Jul 2007 23:31:54 +0000 (16:31 -0700)
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 <tony.luck@intel.com>
arch/ia64/hp/sim/boot/fw-emu.c
arch/ia64/hp/sim/simserial.c

index 300acd913d9c5df9d7fa8aa396a58a6b71c2e9fa..1189d035d316e6f853e464b5736d81eafe72f937 100644 (file)
@@ -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]);
index 324ea7565e2c14f90df86a561e202eb0d63a4382..ef252df50e1e7a32097d881957e83b307cb167a2 100644 (file)
 #include <asm/hw_irq.h>
 #include <asm/uaccess.h>
 
-#ifdef CONFIG_KDB
-# include <linux/kdb.h>
-#endif
-
 #undef SIMSERIAL_DEBUG /* define this to get some debug information */
 
 #define KEYBOARD_INTR  3       /* must match with simulator! */