Commit d2a392c2 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Remove typedef for _stPhsRuleSI and call directly.

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: default avatarKevin McKinney <klmckinney1@gmail.com>
Acked-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c07b5313
...@@ -98,8 +98,7 @@ struct _stCPacketClassificationRuleSI { ...@@ -98,8 +98,7 @@ struct _stCPacketClassificationRuleSI {
}; };
typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI; typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
/* brief class CPhsRuleSI */ struct bcm_phs_rules {
typedef struct _stPhsRuleSI {
/* 8bit PHS Index Of The Service Flow */ /* 8bit PHS Index Of The Service Flow */
B_UINT8 u8PHSI; B_UINT8 u8PHSI;
/* PHSF Length Of The Service Flow */ /* PHSF Length Of The Service Flow */
...@@ -119,8 +118,7 @@ typedef struct _stPhsRuleSI { ...@@ -119,8 +118,7 @@ typedef struct _stPhsRuleSI {
/* Vendor Specific PHS param Of The Service Flow */ /* Vendor Specific PHS param Of The Service Flow */
B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH]; B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH];
B_UINT8 u8Padding[2]; B_UINT8 u8Padding[2];
} stPhsRuleSI, *pstPhsRuleSI; };
typedef stPhsRuleSI CPhsRuleSI;
struct bcm_convergence_types { struct bcm_convergence_types {
/* 8bit Phs Classfier Action Of The Service Flow */ /* 8bit Phs Classfier Action Of The Service Flow */
...@@ -131,8 +129,8 @@ struct bcm_convergence_types { ...@@ -131,8 +129,8 @@ struct bcm_convergence_types {
B_UINT8 u8Padding[2]; B_UINT8 u8Padding[2];
/* brief class cCPacketClassificationRule */ /* brief class cCPacketClassificationRule */
stCPacketClassificationRuleSI cCPacketClassificationRule; stCPacketClassificationRuleSI cCPacketClassificationRule;
/* brief class CPhsRuleSI */ /* Payload header suppression rules structure */
struct _stPhsRuleSI cPhsRule; struct bcm_phs_rules cPhsRule;
}; };
struct bcm_connect_mgr_params { struct bcm_connect_mgr_params {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment