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

Staging: bcm: Remove typedef from CmHost.c and use enum.

This patch removes a typedef from a variable definition
in CmHost.c, and uses a enum instead. This Warning
was reported by checkpatch.pl.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4868623
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
/* #define CONN_MSG */ /* #define CONN_MSG */
#include "headers.h" #include "headers.h"
typedef enum _E_CLASSIFIER_ACTION { enum E_CLASSIFIER_ACTION {
eInvalidClassifierAction, eInvalidClassifierAction,
eAddClassifier, eAddClassifier,
eReplaceClassifier, eReplaceClassifier,
eDeleteClassifier eDeleteClassifier
} E_CLASSIFIER_ACTION; };
static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid); static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid);
...@@ -437,7 +437,7 @@ static VOID CopyToAdapter(register PMINI_ADAPTER Adapter, /* <Pointer to the Ada ...@@ -437,7 +437,7 @@ static VOID CopyToAdapter(register PMINI_ADAPTER Adapter, /* <Pointer to the Ada
/* UCHAR ucProtocolLength = 0; */ /* UCHAR ucProtocolLength = 0; */
ULONG ulSFID; ULONG ulSFID;
UINT nClassifierIndex = 0; UINT nClassifierIndex = 0;
E_CLASSIFIER_ACTION eClassifierAction = eInvalidClassifierAction; enum E_CLASSIFIER_ACTION eClassifierAction = eInvalidClassifierAction;
B_UINT16 u16PacketClassificationRuleIndex = 0; B_UINT16 u16PacketClassificationRuleIndex = 0;
UINT nIndex = 0; UINT nIndex = 0;
stConvergenceSLTypes *psfCSType = NULL; stConvergenceSLTypes *psfCSType = NULL;
......
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