Skip to content

Commit 65fbed3

Browse files
tugcegregkh
authored andcommitted
Staging: bcm: Remove unnecessary parentheses
This patch fixes checkpatch.pl warning Unnecessary parentheses in bcm driver. Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f1e2fb6 commit 65fbed3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/staging/bcm/nvm.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3374,7 +3374,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
33743374
case DSD2:
33753375
if (ReadDSDSignature(Adapter, eFlash2xSectVal) == DSD_IMAGE_MAGIC_NUMBER) {
33763376
HighestPriDSD = getHighestPriDSD(Adapter);
3377-
if ((HighestPriDSD == eFlash2xSectVal)) {
3377+
if (HighestPriDSD == eFlash2xSectVal) {
33783378
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Given DSD<%x> already has highest priority", eFlash2xSectVal);
33793379
Status = STATUS_SUCCESS;
33803380
break;
@@ -3402,7 +3402,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
34023402

34033403
HighestPriDSD = getHighestPriDSD(Adapter);
34043404

3405-
if ((HighestPriDSD == eFlash2xSectVal)) {
3405+
if (HighestPriDSD == eFlash2xSectVal) {
34063406
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Made the DSD: %x highest by reducing priority of other\n", eFlash2xSectVal);
34073407
Status = STATUS_SUCCESS;
34083408
break;
@@ -3421,7 +3421,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
34213421
}
34223422

34233423
HighestPriDSD = getHighestPriDSD(Adapter);
3424-
if ((HighestPriDSD == eFlash2xSectVal)) {
3424+
if (HighestPriDSD == eFlash2xSectVal) {
34253425
Status = STATUS_SUCCESS;
34263426
break;
34273427
}

0 commit comments

Comments
 (0)