Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _S_HDR_SUPRESSION_CONTEXTINFO and ca…
Browse files Browse the repository at this point in the history
…ll directly.

This patch removes typedef for
_S_HDR_SUPRESSION_CONTEXTINFO, changes the name
of the struct from _S_HDR_SUPRESSION_CONTEXTINFO
to bcm_hdr_supression_contextinfo. In addition,
any calls to the following typedefs
"S_HDR_SUPRESSION_CONTEXTINFO" are changed to call the
struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jun 5, 2012
1 parent 92562ae commit f428450
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/bcm/Adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ typedef union _U_IP_ADDRESS {
};
} U_IP_ADDRESS;

typedef struct _S_HDR_SUPRESSION_CONTEXTINFO {
struct bcm_hdr_supression_contextinfo {
UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */
UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */
} S_HDR_SUPRESSION_CONTEXTINFO;
};

struct bcm_classifier_rule {
ULONG ulSFID;
Expand Down Expand Up @@ -380,7 +380,7 @@ struct _MINI_ADAPTER {
BOOLEAN bLinkDownRequested;
int downloadDDR;
PHS_DEVICE_EXTENSION stBCMPhsContext;
S_HDR_SUPRESSION_CONTEXTINFO stPhsTxContextInfo;
struct bcm_hdr_supression_contextinfo stPhsTxContextInfo;
uint8_t ucaPHSPktRestoreBuf[2048];
uint8_t bPHSEnabled;
BOOLEAN AutoFirmDld;
Expand Down

0 comments on commit f428450

Please sign in to comment.