staging: vt6655: remove unnecessary typedef struct.
authorMartin Kepplinger <martink@posteo.de>
Mon, 16 Jun 2014 16:05:36 +0000 (18:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 23:37:01 +0000 (16:37 -0700)
Remove a totally unnecessary typedef and rename it to lowercase.
This is more readable now.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/device.h
drivers/staging/vt6655/wmgr.c

index 05bf48a24f45a6bcae2bb677548e037bf936698f..e21abd8ea7878ec6d7133d313bd30c2895204bfe 100644 (file)
@@ -998,7 +998,7 @@ CARDbAdd_PMKID_Candidate(
 )
 {
        PSDevice            pDevice = (PSDevice) pDeviceHandler;
-       PPMKID_CANDIDATE    pCandidateList;
+       struct pmkid_candidate *pCandidateList;
        unsigned int ii = 0;
 
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates);
index 45fc8a0b9b5cceebe9d7d2fa50ba37805fb10ba9..aab63ca2577465b41208f9d07d46b7052a6090e4 100644 (file)
@@ -227,10 +227,10 @@ typedef enum _NDIS_802_11_STATUS_TYPE
 } NDIS_802_11_STATUS_TYPE, *PNDIS_802_11_STATUS_TYPE;
 
 //Added new types for PMKID Candidate lists.
-typedef struct _PMKID_CANDIDATE {
+struct pmkid_candidate {
        NDIS_802_11_MAC_ADDRESS BSSID;
        unsigned long Flags;
-} PMKID_CANDIDATE, *PPMKID_CANDIDATE;
+};
 
 typedef struct _BSSID_INFO
 {
@@ -248,7 +248,7 @@ typedef struct tagSPMKIDCandidateEvent {
        NDIS_802_11_STATUS_TYPE     StatusType;
        unsigned long Version;       // Version of the structure
        unsigned long NumCandidates; // No. of pmkid candidates
-       PMKID_CANDIDATE CandidateList[MAX_PMKIDLIST];
+       struct pmkid_candidate CandidateList[MAX_PMKIDLIST];
 } SPMKIDCandidateEvent, *PSPMKIDCandidateEvent;
 
 //--
index 67384782b7022d0579962fe9d15e94525df2057c..cc4f5b9e058198980c156332968d9702750d2a45 100644 (file)
@@ -4438,7 +4438,7 @@ bAdd_PMKID_Candidate(
 )
 {
        PSDevice         pDevice = (PSDevice)hDeviceContext;
-       PPMKID_CANDIDATE pCandidateList;
+       struct pmkid_candidate *pCandidateList;
        unsigned int ii = 0;
 
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates);