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>
This commit is contained in:
Matthias Beyer 2014-08-27 12:57:49 +02:00 committed by Greg Kroah-Hartman
parent 7029fbb761
commit 2955572eaa
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}