diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:43:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:43:41 +0000 |
commit | 543d870e824730d0a85e4c999d9c21f58f0737b1 (patch) | |
tree | 2517eb31b9594e52382ec5397bbbf41c28c970f3 /package/switch/src/switch-robo.c | |
parent | 08e4d51c29ea57920f6e5f7906b19b19e1c71a50 (diff) | |
download | master-31e0f0ae-543d870e824730d0a85e4c999d9c21f58f0737b1.tar.gz master-31e0f0ae-543d870e824730d0a85e4c999d9c21f58f0737b1.tar.bz2 master-31e0f0ae-543d870e824730d0a85e4c999d9c21f58f0737b1.zip |
remove linux 2.4 support from several packages
SVN-Revision: 21954
Diffstat (limited to 'package/switch/src/switch-robo.c')
-rw-r--r-- | package/switch/src/switch-robo.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 43e8098b5a..7884bd8b6a 100644 --- a/package/switch/src/switch-robo.c +++ b/package/switch/src/switch-robo.c @@ -63,12 +63,7 @@ #define SIOCGETCPHYRD (SIOCDEVPRIVATE + 9) #define SIOCSETCPHYWR (SIOCDEVPRIVATE + 10) -/* linux 2.4 does not have 'bool' */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -#define bool int -#endif - -/* Only available on brcm-2.4/brcm47xx */ +/* Only available on brcm47xx */ #ifdef BROADCOM extern char *nvram_get(const char *name); #define getvar(str) (nvram_get(str)?:"") |