diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2014-08-27 12:57:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 13:01:37 -0700 |
commit | 2955572eaaa4171cd5a9e99d1750d44b23888bbf (patch) | |
tree | f04ce04b830763170664744abb49ecb645769046 /drivers/staging/bcm | |
parent | 7029fbb7611ca150f3d377dad9a47c4f94a307a6 (diff) |
Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index dea2cce3abae..64dfc03bf418 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; } |