]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: brcm80211: remove unused typedefs in typedefs.h
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:13:11 +0000 (11:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:13:11 +0000 (11:13 -0700)
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>
drivers/staging/brcm80211/include/typedefs.h

index 0461f75c064a7bbcc96534dc5144497c93ab99a2..7c237cecf771bcf239c6f74eed94c1463b79474b 100644 (file)
 
 #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
@@ -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