Staging: brcm80211: remove unneeded #ifdef checks
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Oct 2010 16:31:19 +0000 (09:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Oct 2010 16:31:19 +0000 (09:31 -0700)
For a .h file, you never need to check it, the .h file does it
itself.  For the typedef.h file, this is never needed.

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/msgtrace.h
drivers/staging/brcm80211/include/proto/802.11.h
drivers/staging/brcm80211/include/proto/bcmeth.h
drivers/staging/brcm80211/include/proto/bcmevent.h
drivers/staging/brcm80211/include/proto/bcmip.h
drivers/staging/brcm80211/include/proto/ethernet.h
drivers/staging/brcm80211/include/proto/vlan.h

index cfae9a69a6512530e5ee9f034e4e70b4a313a108..218e43ce2ece5b05c96478f69cc0361f1f0297eb 100644 (file)
@@ -17,9 +17,7 @@
 #ifndef        _MSGTRACE_H
 #define        _MSGTRACE_H
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
 
 /* This marks the start of a packed structure section. */
 #include <packed_section_start.h>
index ef40ff2b98ff9554b33bd29b55f1eae5937f407f..9d7c14ccbdbe28f1b259c1f35b8223fe1b7c2ff9 100644 (file)
 #ifndef _802_11_H_
 #define _802_11_H_
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
-
 #include <proto/wpa.h>
-
 #include <packed_section_start.h>
 
 #define DOT11_A3_HDR_LEN               24
index 13653ed28ce0b252fd855ff3c3aaba04bc350616..3ed5ab8898a398a7c3cc69b81ab07caad27e1ac2 100644 (file)
 #ifndef _BCMETH_H_
 #define _BCMETH_H_
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
-
 #include <packed_section_start.h>
 
 #define        BCMILCP_SUBTYPE_RATE            1
index b2dde61d18ef8f05319260d3f2ebc4e6681816fc..a5434f89969b1be4c95dd4dc534069262106fcb0 100644 (file)
 #ifndef _BCMEVENT_H_
 #define _BCMEVENT_H_
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
-
 #include <packed_section_start.h>
 
 #define BCM_EVENT_MSG_VERSION          1
index d9d6e8ef809fe28309cd1fb4d53e873b847c0fbe..738f7cd2e08c8fc91e420ec9ff45315708870c33 100644 (file)
 #ifndef _bcmip_h_
 #define _bcmip_h_
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
-
 #include <packed_section_start.h>
 
 #define IP_VER_OFFSET          0x0
index 9ce8de8cd44cadb433abe820687956a9e9c62565..dca37a4e7bc450ccd95dc80aa837d722075d79d5 100644 (file)
@@ -17,9 +17,7 @@
 #ifndef _NET_ETHERNET_H_
 #define _NET_ETHERNET_H_
 
-#ifndef _TYPEDEFS_H_
 #include "typedefs.h"
-#endif
 #include <packed_section_start.h>
 
 #define        ETHER_ADDR_LEN          6
index 1dcd3f32582b8019ee66e54f4752d8290197f360..be72c3ad84cf16aea24f585aeeeb58fd252014ae 100644 (file)
 #ifndef _vlan_h_
 #define _vlan_h_
 
-#ifndef _TYPEDEFS_H_
 #include <typedefs.h>
-#endif
-
 #include <packed_section_start.h>
 
 #define VLAN_VID_MASK          0xfff