Commit 2955572e authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: Bcmchar.c: Renamed variable: "uiLoopIndex" -> "i"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7029fbb7
...@@ -1142,10 +1142,10 @@ static int bcm_char_ioctl_chip_reset(struct bcm_mini_adapter *ad) ...@@ -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, static int bcm_char_ioctl_qos_threshold(ULONG arg,
struct bcm_mini_adapter *ad) struct bcm_mini_adapter *ad)
{ {
USHORT uiLoopIndex; USHORT i;
for (uiLoopIndex = 0; uiLoopIndex < NO_OF_QUEUES; uiLoopIndex++) { for (i = 0; i < NO_OF_QUEUES; i++) {
if (get_user(ad->PackInfo[uiLoopIndex].uiThreshold, if (get_user(ad->PackInfo[i].uiThreshold,
(unsigned long __user *)arg)) { (unsigned long __user *)arg)) {
return -EFAULT; return -EFAULT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment