Skip to content

Commit

Permalink
Staging: brcm80211: remove unused typedefs in typedefs.h
Browse files Browse the repository at this point in the history
uint is already defined somewhere else, so just remove this version
of 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 8, 2010
1 parent 3e26416 commit f1d0fe0
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions drivers/staging/brcm80211/include/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,16 @@

#include <linux/types.h>

/*
* Infer the compile environment based on preprocessor symbols and pragmas.
* Override type definitions as needed, and include configuration-dependent
* header files to define types.
*/

#if defined(__x86_64__)
#define TYPEDEF_UINTPTR
typedef unsigned long long int uintptr;
#endif

#define TYPEDEF_UINT

/*
* Default Typedefs
*/

/* define uint */

#ifndef TYPEDEF_UINT
typedef unsigned int uint;
#endif

#ifndef TYPEDEF_UINTPTR
typedef unsigned int uintptr;
#endif

/* define macro values */
#undef TYPEDEF_UINTPTR

#ifndef FALSE
#define FALSE 0
Expand All @@ -66,8 +48,6 @@ typedef unsigned int uintptr;

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

#undef TYPEDEF_UINT
#undef TYPEDEF_UINTPTR

/*
* Including the bcmdefs.h here, to make sure everyone including typedefs.h
Expand Down

0 comments on commit f1d0fe0

Please sign in to comment.