]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: brcm80211: Remove bogus gcc version checking
authorBrett Rudley <brudley@broadcom.com>
Tue, 30 Nov 2010 23:22:15 +0000 (15:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Dec 2010 22:55:51 +0000 (14:55 -0800)
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/linux_osl.h

index 0e2e53e623cfb80eb728e2777442a5f8023d2de7..94f5d12d53d9b1f5021b199411d19ad9190a0113 100644 (file)
@@ -29,17 +29,8 @@ extern u32 g_assert_type;
          do { if (!(exp)) osl_assert(#exp, __FILE__, __LINE__); } while (0)
 extern void osl_assert(char *exp, char *file, int line);
 #else
-#ifdef __GNUC__
-#define GCC_VERSION \
-                       (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
-#if GCC_VERSION > 30100
 #define ASSERT(exp)    do {} while (0)
-#else
-                       /* ASSERT could cause segmentation fault on GCC3.1, use empty instead */
-#define ASSERT(exp)
-#endif                         /* GCC_VERSION > 30100 */
-#endif                         /* __GNUC__ */
-#endif                         /* defined(BCMDBG_ASSERT) */
+#endif  /* defined(BCMDBG_ASSERT) */
 
 /* PCI device bus # and slot # */
 #define OSL_PCI_BUS(osh)       osl_pci_bus(osh)