remove linux 2.4 support from several packages
[openwrt/staging/wigyori.git] / package / switch / src / switch-robo.c
index 43e8098b5ac4504eb3b25cabcf37a996f3b379ed..7884bd8b6ae795a209907f1336f903b874e0235b 100644 (file)
 #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)?:"")