]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: bcm: Remove typedef for _stLocalSFDeleteRequest and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Mon, 24 Sep 2012 03:07:11 +0000 (23:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:31:51 +0000 (09:31 -0700)
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>
drivers/staging/bcm/CmHost.c
drivers/staging/bcm/cntrl_SignalingInterface.h

index 1d1f55067029f37097a9a8fdaff9f2a195e7c7d6..fd2780d41e9ad44132a0c0953ddab40a517cdd90 100644 (file)
@@ -1335,7 +1335,7 @@ ULONG StoreCmControlResponseMessage(struct bcm_mini_adapter *Adapter, PVOID pvBu
 {
        stLocalSFAddIndicationAlt *pstAddIndicationAlt = NULL;
        stLocalSFAddIndication *pstAddIndication = NULL;
-       stLocalSFDeleteRequest *pstDeletionRequest;
+       struct bcm_del_request *pstDeletionRequest;
        UINT uiSearchRuleIndex;
        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.
         */
        if (pstAddIndicationAlt->u8Type == DSD_REQ) {
-               pstDeletionRequest = (stLocalSFDeleteRequest *)pvBuffer;
+               pstDeletionRequest = (struct bcm_del_request *)pvBuffer;
 
                ulSFID = ntohl(pstDeletionRequest->u32SFID);
                uiSearchRuleIndex = SearchSfid(Adapter, ulSFID);
index a2e1bf560dbbc7f3ffb366f7fc7fc31d634e4562..0f9ecc04688da80cdd402230a7b049b2ab996154 100644 (file)
@@ -312,16 +312,13 @@ typedef struct _stLocalSFAddIndication stLocalSFChangeRequest, *pstLocalSFChange
  */
 typedef struct _stLocalSFAddIndication stLocalSFChangeIndication, *pstLocalSFChangeIndication;
 
-/*
- * structure stLocalSFDeleteRequest
- */
-typedef struct _stLocalSFDeleteRequest {
+struct bcm_del_request {
        B_UINT8 u8Type; /* < Type */
        B_UINT8 u8Padding; /* < Padding byte */
        B_UINT16 u16TID; /* < TID */
        /* brief 32bitSFID */
        B_UINT32 u32SFID; /* < SFID */
-} stLocalSFDeleteRequest, *pstLocalSFDeleteRequest;
+};
 
 struct bcm_del_indication {
        B_UINT8 u8Type; /* < Type */