Skip to content

Commit

Permalink
Staging: brcm80211: remove unneeded #ifdef checks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 5, 2010
1 parent ea4381f commit b793758
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/brcm80211/include/msgtrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 0 additions & 4 deletions drivers/staging/brcm80211/include/proto/802.11.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@
#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
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/include/proto/bcmeth.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
#ifndef _BCMETH_H_
#define _BCMETH_H_

#ifndef _TYPEDEFS_H_
#include <typedefs.h>
#endif

#include <packed_section_start.h>

#define BCMILCP_SUBTYPE_RATE 1
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/include/proto/bcmevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
#ifndef _BCMEVENT_H_
#define _BCMEVENT_H_

#ifndef _TYPEDEFS_H_
#include <typedefs.h>
#endif

#include <packed_section_start.h>

#define BCM_EVENT_MSG_VERSION 1
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/include/proto/bcmip.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
#ifndef _bcmip_h_
#define _bcmip_h_

#ifndef _TYPEDEFS_H_
#include <typedefs.h>
#endif

#include <packed_section_start.h>

#define IP_VER_OFFSET 0x0
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/brcm80211/include/proto/ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/include/proto/vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
#ifndef _vlan_h_
#define _vlan_h_

#ifndef _TYPEDEFS_H_
#include <typedefs.h>
#endif

#include <packed_section_start.h>

#define VLAN_VID_MASK 0xfff
Expand Down

0 comments on commit b793758

Please sign in to comment.