[PATCH 43/57] Staging: bcm: CmHost.c: Renamed variable: "ulStatus" -> "status"

Matthias Beyer mail at beyermatthias.de
Wed Aug 27 11:10:57 UTC 2014


Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
 drivers/staging/bcm/CmHost.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
index 4840f71..5205662 100644
--- a/drivers/staging/bcm/CmHost.c
+++ b/drivers/staging/bcm/CmHost.c
@@ -1574,7 +1574,7 @@ static inline struct bcm_add_indication_alt
 *RestoreCmControlResponseMessage(register struct bcm_mini_adapter *ad,
 		register PVOID buffer)
 {
-	ULONG ulStatus = 0;
+	ULONG status = 0;
 	struct bcm_add_indication *add_indication = NULL;
 	struct bcm_add_indication_alt *pstAddIndicationDest = NULL;
 
@@ -1638,10 +1638,10 @@ static inline struct bcm_add_indication_alt
 
 	BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
 			"Restoring Active Set ");
-	ulStatus = RestoreSFParam(ad,
+	status = RestoreSFParam(ad,
 			(ULONG)add_indication->psfActiveSet,
 			(PUCHAR)&pstAddIndicationDest->sfActiveSet);
-	if (ulStatus != 1)
+	if (status != 1)
 		goto failed_restore_sf_param;
 
 	if (pstAddIndicationDest->sfActiveSet.u8TotalClassifiers > MAX_CLASSIFIERS_IN_SF)
@@ -1650,10 +1650,10 @@ static inline struct bcm_add_indication_alt
 
 	BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
 			"Restoring Admitted Set ");
-	ulStatus = RestoreSFParam(ad,
+	status = RestoreSFParam(ad,
 			(ULONG)add_indication->psfAdmittedSet,
 			(PUCHAR)&pstAddIndicationDest->sfAdmittedSet);
-	if (ulStatus != 1)
+	if (status != 1)
 		goto failed_restore_sf_param;
 
 	if (pstAddIndicationDest->sfAdmittedSet.u8TotalClassifiers > MAX_CLASSIFIERS_IN_SF)
@@ -1662,10 +1662,10 @@ static inline struct bcm_add_indication_alt
 
 	BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
 			"Restoring Authorized Set ");
-	ulStatus = RestoreSFParam(ad,
+	status = RestoreSFParam(ad,
 			(ULONG)add_indication->psfAuthorizedSet,
 			(PUCHAR)&pstAddIndicationDest->sfAuthorizedSet);
-	if (ulStatus != 1)
+	if (status != 1)
 		goto failed_restore_sf_param;
 
 	if (pstAddIndicationDest->sfAuthorizedSet.u8TotalClassifiers > MAX_CLASSIFIERS_IN_SF)
-- 
2.1.0



More information about the devel mailing list