Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _stPhsRuleSI and call directly.
Browse files Browse the repository at this point in the history
This patch removes typedef for _stPhsRuleSI,
changes the name of the struct to
bcm_phs_rules, and updates the comments
appropriately. In addition, any
calls to typedefs "stPhsRuleSI,
*pstPhsRuleSI, or CPhsRuleSI" are
changed to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Sep 26, 2012
1 parent c07b531 commit d2a392c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/staging/bcm/cntrl_SignalingInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ struct _stCPacketClassificationRuleSI {
};
typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;

/* brief class CPhsRuleSI */
typedef struct _stPhsRuleSI {
struct bcm_phs_rules {
/* 8bit PHS Index Of The Service Flow */
B_UINT8 u8PHSI;
/* PHSF Length Of The Service Flow */
Expand All @@ -119,8 +118,7 @@ typedef struct _stPhsRuleSI {
/* Vendor Specific PHS param Of The Service Flow */
B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH];
B_UINT8 u8Padding[2];
} stPhsRuleSI, *pstPhsRuleSI;
typedef stPhsRuleSI CPhsRuleSI;
};

struct bcm_convergence_types {
/* 8bit Phs Classfier Action Of The Service Flow */
Expand All @@ -131,8 +129,8 @@ struct bcm_convergence_types {
B_UINT8 u8Padding[2];
/* brief class cCPacketClassificationRule */
stCPacketClassificationRuleSI cCPacketClassificationRule;
/* brief class CPhsRuleSI */
struct _stPhsRuleSI cPhsRule;
/* Payload header suppression rules structure */
struct bcm_phs_rules cPhsRule;
};

struct bcm_connect_mgr_params {
Expand Down

0 comments on commit d2a392c

Please sign in to comment.