Skip to content

Commit

Permalink
Staging: brcm80211: remove bool redefinition
Browse files Browse the repository at this point in the history
The core kernel type code handles this properly, no driver
should ever do it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Oct 5, 2010
1 parent 8fbfd3e commit a21142b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/brcm80211/include/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ typedef unsigned long long int uintptr;
#define TYPEDEF_USHORT
#define TYPEDEF_ULONG
#include <linux/version.h>
#define TYPEDEF_BOOL

/* Do not support the (u)int64 types with strict ansi for GNU C */
#if defined(__GNUC__) && defined(__STRICT_ANSI__)
Expand All @@ -45,9 +44,6 @@ typedef unsigned long long int uintptr;
/*
* Default Typedefs
*/
#ifndef TYPEDEF_BOOL
typedef /* @abstract@ */ unsigned char bool;
#endif

/* define uchar, ushort, uint, ulong */

Expand Down Expand Up @@ -130,7 +126,6 @@ typedef signed long long int64;

#define AUTO (-1) /* Auto = -1 */

#undef TYPEDEF_BOOL
#undef TYPEDEF_UCHAR
#undef TYPEDEF_USHORT
#undef TYPEDEF_UINT
Expand Down

0 comments on commit a21142b

Please sign in to comment.