[PATCH 12/38] Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"

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


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

diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index c7f79a2..7283bd5 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -1142,10 +1142,10 @@ static int bcm_char_ioctl_chip_reset(struct bcm_mini_adapter *ad)
 static int bcm_char_ioctl_qos_threshold(ULONG arg,
 					struct bcm_mini_adapter *ad)
 {
-	USHORT uiLoopIndex;
+	USHORT i;
 
-	for (uiLoopIndex = 0; uiLoopIndex < NO_OF_QUEUES; uiLoopIndex++) {
-		if (get_user(ad->PackInfo[uiLoopIndex].uiThreshold,
+	for (i = 0; i < NO_OF_QUEUES; i++) {
+		if (get_user(ad->PackInfo[i].uiThreshold,
 				(unsigned long __user *)arg)) {
 			return -EFAULT;
 		}
-- 
2.1.0



More information about the devel mailing list