Commit c53d2013 authored by Brett Rudley's avatar Brett Rudley Committed by Greg Kroah-Hartman

staging: brcm80211: Remove bogus gcc version checking

Signed-off-by: default avatarBrett Rudley <brudley@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f5343314
...@@ -29,17 +29,8 @@ extern u32 g_assert_type; ...@@ -29,17 +29,8 @@ extern u32 g_assert_type;
do { if (!(exp)) osl_assert(#exp, __FILE__, __LINE__); } while (0) do { if (!(exp)) osl_assert(#exp, __FILE__, __LINE__); } while (0)
extern void osl_assert(char *exp, char *file, int line); extern void osl_assert(char *exp, char *file, int line);
#else #else
#ifdef __GNUC__
#define GCC_VERSION \
(__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#if GCC_VERSION > 30100
#define ASSERT(exp) do {} while (0) #define ASSERT(exp) do {} while (0)
#else #endif /* defined(BCMDBG_ASSERT) */
/* ASSERT could cause segmentation fault on GCC3.1, use empty instead */
#define ASSERT(exp)
#endif /* GCC_VERSION > 30100 */
#endif /* __GNUC__ */
#endif /* defined(BCMDBG_ASSERT) */
/* PCI device bus # and slot # */ /* PCI device bus # and slot # */
#define OSL_PCI_BUS(osh) osl_pci_bus(osh) #define OSL_PCI_BUS(osh) osl_pci_bus(osh)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment