diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h
index eae5872e75f6281b45f615086e7dfacad840d5d7..698c376519bbe1a4d325f8ed98d99c9d9acfa296 100644
--- a/package/broadcom-diag/src/diag.h
+++ b/package/broadcom-diag/src/diag.h
@@ -95,13 +95,8 @@ static struct platform_t platform;
 static void register_buttons(struct button_t *b);
 static void unregister_buttons(struct button_t *b);
 
-#ifndef LINUX_2_4
 static void hotplug_button(struct work_struct *work);
 static irqreturn_t button_handler(int irq, void *dev_id);
-#else
-static void hotplug_button(struct event_t *event);
-static irqreturn_t button_handler(int irq, void *dev_id, struct pt_regs *regs);
-#endif
 
 /* leds */
 
diff --git a/target/Config.in b/target/Config.in
index 21cc3a476f26f12f74c0d43ec793ef038d6db999..6e45b640dfc51bd4f1d76818764d57e8a4d40a7e 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -2,9 +2,6 @@ source "tmp/.config-target.in"
 
 # Kernel/Hardware features
 
-config LINUX_2_4
-	bool
-
 config LINUX_2_6
 	bool
 
diff --git a/tools/Makefile b/tools/Makefile
index ac4d62c54f9ac9e281a4d7bbdac360d89022a0b2..5c6a499a6ef03151e815a910f046a77b013dc67b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -19,7 +19,7 @@ tools-y += sstrip ipkg-utils genext2fs libuuid mtd-utils mkimage
 tools-y += firmware-utils patch-cmdline quilt yaffs2
 tools-$(CONFIG_TARGET_orion) += wrt350nv2-builder upslug2
 tools-$(CONFIG_TARGET_x86) += qemu
-ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25)$(CONFIG_TARGET_ar71xx),)
+ifneq ($(CONFIG_LINUX_2_6_25)$(CONFIG_TARGET_ar71xx),)
 tools-y += squashfs lzma-old
 else
 tools-y += squashfs4 lzma