[PATCH 8/8] Staging: bcm: Remove typedef for _stCPacketClassificationRuleSI and call directly.
Kevin McKinney
klmckinney1 at gmail.com
Sat Sep 22 05:24:39 UTC 2012
This patch removes typedef for
_stCPacketClassificationRuleSI, and changes the
name of the struct to bcm_packet_class_rule. In
addition, any calls to typedefs
"CCPacketClassificationRuleSI,
stCPacketClassificationRuleSI,
or *pstCPacketClassificationRuleSI" are changed
to call the struct directly.
Signed-off-by: Kevin McKinney <klmckinney1 at gmail.com>
---
drivers/staging/bcm/cntrl_SignalingInterface.h | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h
index 87ee1e3..f2ae0b4 100644
--- a/drivers/staging/bcm/cntrl_SignalingInterface.h
+++ b/drivers/staging/bcm/cntrl_SignalingInterface.h
@@ -34,12 +34,7 @@
#define NUM_ETHERTYPE_BYTES 3
#define NUM_IPV6_FLOWLABLE_BYTES 3
-/*
- * structure Definitions
- *
- * brief class cCPacketClassificationRule
- */
-struct _stCPacketClassificationRuleSI {
+struct bcm_packet_class_rule {
/* 16bit UserPriority Of The Service Flow */
B_UINT16 u16UserPriority;
/* 16bit VLANID Of The Service Flow */
@@ -96,7 +91,6 @@ struct _stCPacketClassificationRuleSI {
B_UINT8 u8ClassifierActionRule;
B_UINT16 u16ValidityBitMap;
};
-typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
struct bcm_rule {
/* 8bit PHS Index Of The Service Flow */
@@ -128,7 +122,7 @@ struct bcm_convergence_types {
/* 16bit Padding */
B_UINT8 u8Padding[2];
/* brief class cCPacketClassificationRule */
- stCPacketClassificationRuleSI cCPacketClassificationRule;
+ struct bcm_packet_class_rule cCPacketClassificationRule;
struct bcm_rule cPhsRule;
};
--
1.7.9.5
More information about the devel
mailing list