Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _S_MIBS_HOST_INFO and call directly.
Browse files Browse the repository at this point in the history
This patch removes typedef for _S_MIBS_HOST_INFO, and
changes the name of the struct to bcm_mibs_host_info.
In addition, any calls to typedef S_MIBS_HOST_INFO 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 Nov 27, 2012
1 parent 4aca284 commit 86758b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/bcm/HostMIBSInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ typedef union _U_MIBS_IP_ADDRESS {
};
} U_MIBS_IP_ADDRESS;

typedef struct _S_MIBS_HOST_INFO {
struct bcm_mibs_host_info {
u64 GoodTransmits;
u64 GoodReceives;
/* this to keep track of the Tx and Rx MailBox Registers. */
Expand All @@ -62,7 +62,7 @@ typedef struct _S_MIBS_HOST_INFO {
u32 u32TotalDSD;
u32 aTxPktSizeHist[MIBS_MAX_HIST_ENTRIES];
u32 aRxPktSizeHist[MIBS_MAX_HIST_ENTRIES];
} S_MIBS_HOST_INFO;
};

struct bcm_mibs_classifier_rule {
unsigned long ulSFID;
Expand Down Expand Up @@ -182,7 +182,7 @@ struct bcm_mibs_dropped_cntrl_msg {
};

struct bcm_host_stats_mibs {
S_MIBS_HOST_INFO stHostInfo;
struct bcm_mibs_host_info stHostInfo;
struct bcm_mibs_classifier_rule astClassifierTable[MIBS_MAX_CLASSIFIERS];
struct bcm_mibs_table astSFtable[MIBS_MAX_SERVICEFLOWS];
struct bcm_mibs_phs_rule astPhsRulesTable[MIBS_MAX_PHSRULES];
Expand Down

0 comments on commit 86758b7

Please sign in to comment.