summaryrefslogtreecommitdiff
path: root/package/switch/src/switch-core.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-06-26 20:43:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-06-26 20:43:41 +0000
commit543d870e824730d0a85e4c999d9c21f58f0737b1 (patch)
tree2517eb31b9594e52382ec5397bbbf41c28c970f3 /package/switch/src/switch-core.h
parent08e4d51c29ea57920f6e5f7906b19b19e1c71a50 (diff)
downloadmtk-20170518-543d870e824730d0a85e4c999d9c21f58f0737b1.zip
mtk-20170518-543d870e824730d0a85e4c999d9c21f58f0737b1.tar.gz
mtk-20170518-543d870e824730d0a85e4c999d9c21f58f0737b1.tar.bz2
remove linux 2.4 support from several packages
SVN-Revision: 21954
Diffstat (limited to 'package/switch/src/switch-core.h')
-rw-r--r--package/switch/src/switch-core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/switch/src/switch-core.h b/package/switch/src/switch-core.h
index 31c81f6..c9ab90d 100644
--- a/package/switch/src/switch-core.h
+++ b/package/switch/src/switch-core.h
@@ -13,10 +13,6 @@
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-#define LINUX_2_4
-#endif
-
typedef int (*switch_handler)(void *driver, char *buf, int nr);
typedef struct {