X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2fbb0f0be3175485b7a37af4bdb070da9ff42f2d..51c76d8aa5224233370fa5de9cc1277f5a797a66:/package/switch/src/switch-robo.c?ds=sidebyside diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 9f0689602..7884bd8b6 100644 --- a/package/switch/src/switch-robo.c +++ b/package/switch/src/switch-robo.c @@ -21,7 +21,6 @@ * 02110-1301, USA. */ -#include #include #include #include @@ -64,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)?:"")