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

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

This patch removes typedef for
_stCPacketClassificationRuleSI, changes the
name of the struct to bcm_packet_class_rules,
and updates the comments appropriately . In
addition, any calls to typedefs
"CCPacketClassificationRuleSI,
stCPacketClassificationRuleSI,
or *pstCPacketClassificationRuleSI" 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 d2a392c2
...@@ -34,12 +34,7 @@ ...@@ -34,12 +34,7 @@
#define NUM_ETHERTYPE_BYTES 3 #define NUM_ETHERTYPE_BYTES 3
#define NUM_IPV6_FLOWLABLE_BYTES 3 #define NUM_IPV6_FLOWLABLE_BYTES 3
/* struct bcm_packet_class_rules {
* structure Definitions
*
* brief class cCPacketClassificationRule
*/
struct _stCPacketClassificationRuleSI {
/* 16bit UserPriority Of The Service Flow */ /* 16bit UserPriority Of The Service Flow */
B_UINT16 u16UserPriority; B_UINT16 u16UserPriority;
/* 16bit VLANID Of The Service Flow */ /* 16bit VLANID Of The Service Flow */
...@@ -96,7 +91,6 @@ struct _stCPacketClassificationRuleSI { ...@@ -96,7 +91,6 @@ struct _stCPacketClassificationRuleSI {
B_UINT8 u8ClassifierActionRule; B_UINT8 u8ClassifierActionRule;
B_UINT16 u16ValidityBitMap; B_UINT16 u16ValidityBitMap;
}; };
typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
struct bcm_phs_rules { struct bcm_phs_rules {
/* 8bit PHS Index Of The Service Flow */ /* 8bit PHS Index Of The Service Flow */
...@@ -127,8 +121,8 @@ struct bcm_convergence_types { ...@@ -127,8 +121,8 @@ struct bcm_convergence_types {
B_UINT8 u8PhsDSCAction; B_UINT8 u8PhsDSCAction;
/* 16bit Padding */ /* 16bit Padding */
B_UINT8 u8Padding[2]; B_UINT8 u8Padding[2];
/* brief class cCPacketClassificationRule */ /* Packet classification rules structure */
stCPacketClassificationRuleSI cCPacketClassificationRule; struct bcm_packet_class_rules cCPacketClassificationRule;
/* Payload header suppression rules structure */ /* Payload header suppression rules structure */
struct bcm_phs_rules cPhsRule; struct bcm_phs_rules cPhsRule;
}; };
......
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