Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/CmHost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index c93a244..3d72f56 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -2174,13 +2174,13 @@ static void apply_phs_rule_to_all_classifiers( struct bcm_phs_rules *c_phs_rules, struct bcm_add_indication_alt *add_indication) { - unsigned int uiClassifierIndex = 0; + unsigned int i = 0; struct bcm_classifier_rule *curr_classifier = NULL; if (add_indication->u8Direction == UPLINK_DIR) { - for (uiClassifierIndex = 0; uiClassifierIndex < MAX_CLASSIFIERS; uiClassifierIndex++) { + for (i = 0; i < MAX_CLASSIFIERS; i++) { curr_classifier = - &ad->astClassifierTable[uiClassifierIndex]; + &ad->astClassifierTable[i]; if ((curr_classifier->bUsed) && (curr_classifier->ulSFID == ad->PackInfo[search_rule_idx].ulSFID) && (curr_classifier->u8AssociatedPHSI == c_phs_rules->u8PHSI)) { -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel