forked from Minki/linux
Staging: bcm: Remove typedef for _stLocalSFDeleteRequest and call directly.
This patch removes typedef for _stLocalSFDeleteRequest, and changes the name of the struct to bcm_del_request. In addition, any calls to typedefs "stLocalSFDeleteRequest or *pstLocalSFDeleteRequest" 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>
This commit is contained in:
parent
de473db168
commit
ec5bb99264
@ -1335,7 +1335,7 @@ ULONG StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBu
|
|||||||
{
|
{
|
||||||
stLocalSFAddIndicationAlt *pstAddIndicationAlt = NULL;
|
stLocalSFAddIndicationAlt *pstAddIndicationAlt = NULL;
|
||||||
stLocalSFAddIndication *pstAddIndication = NULL;
|
stLocalSFAddIndication *pstAddIndication = NULL;
|
||||||
stLocalSFDeleteRequest *pstDeletionRequest;
|
struct bcm_del_request *pstDeletionRequest;
|
||||||
UINT uiSearchRuleIndex;
|
UINT uiSearchRuleIndex;
|
||||||
ULONG ulSFID;
|
ULONG ulSFID;
|
||||||
|
|
||||||
@ -1346,7 +1346,7 @@ ULONG StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBu
|
|||||||
* we can stop the further classifying the pkt for this SF.
|
* we can stop the further classifying the pkt for this SF.
|
||||||
*/
|
*/
|
||||||
if (pstAddIndicationAlt->u8Type == DSD_REQ) {
|
if (pstAddIndicationAlt->u8Type == DSD_REQ) {
|
||||||
pstDeletionRequest = (stLocalSFDeleteRequest *)pvBuffer;
|
pstDeletionRequest = (struct bcm_del_request *)pvBuffer;
|
||||||
|
|
||||||
ulSFID = ntohl(pstDeletionRequest->u32SFID);
|
ulSFID = ntohl(pstDeletionRequest->u32SFID);
|
||||||
uiSearchRuleIndex = SearchSfid(Adapter, ulSFID);
|
uiSearchRuleIndex = SearchSfid(Adapter, ulSFID);
|
||||||
|
@ -312,16 +312,13 @@ typedef struct _stLocalSFAddIndication stLocalSFChangeRequest, *pstLocalSFChange
|
|||||||
*/
|
*/
|
||||||
typedef struct _stLocalSFAddIndication stLocalSFChangeIndication, *pstLocalSFChangeIndication;
|
typedef struct _stLocalSFAddIndication stLocalSFChangeIndication, *pstLocalSFChangeIndication;
|
||||||
|
|
||||||
/*
|
struct bcm_del_request {
|
||||||
* structure stLocalSFDeleteRequest
|
|
||||||
*/
|
|
||||||
typedef struct _stLocalSFDeleteRequest {
|
|
||||||
B_UINT8 u8Type; /* < Type */
|
B_UINT8 u8Type; /* < Type */
|
||||||
B_UINT8 u8Padding; /* < Padding byte */
|
B_UINT8 u8Padding; /* < Padding byte */
|
||||||
B_UINT16 u16TID; /* < TID */
|
B_UINT16 u16TID; /* < TID */
|
||||||
/* brief 32bitSFID */
|
/* brief 32bitSFID */
|
||||||
B_UINT32 u32SFID; /* < SFID */
|
B_UINT32 u32SFID; /* < SFID */
|
||||||
} stLocalSFDeleteRequest, *pstLocalSFDeleteRequest;
|
};
|
||||||
|
|
||||||
struct bcm_del_indication {
|
struct bcm_del_indication {
|
||||||
B_UINT8 u8Type; /* < Type */
|
B_UINT8 u8Type; /* < Type */
|
||||||
|
Loading…
Reference in New Issue
Block a user