Skip to contentSkip to conversation

arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround

PATCH New Adrian Bunk 1 participant 1 message Aug 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/ia64/hp/sim/boot/fw-emu.c: remove egcs workaround

Kernel 2.6 doesn't support egcs, and I didn't find any user of this function.

---

Note: I haven't tested the compilation of this patch.

arch/ia64/hp/sim/boot/fw-emu.c renamed from arch/ia64/hp/sim/boot/fw-emu.c.old +0 -11
@@ -237,17 +237,6 @@
 	return ((struct sal_ret_values) {status, r9, r10, r11});
 }
 
-
-/*
- * This is here to work around a bug in egcs-1.1.1b that causes the
- * compiler to crash (seems like a bug in the new alias analysis code.
- */
-void *
-id (long addr)
-{
-	return (void *) addr;
-}
-
 struct ia64_boot_param *
 sys_fw_init (const char *args, int arglen)
 {