aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTugce Sirin <ztugcesirin@gmail.com>2014-03-19 14:55:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 16:53:56 -0400
commit65fbed376a2d731005a5bd7f808c1bb5ac718a57 (patch)
tree3f02a58c2877c640b95bb09d7184e381dac5668e
parentf1e2fb65c363634f16472f57b6bbca6d10ae77e5 (diff)
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>
-rw-r--r--drivers/staging/bcm/nvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c
index c4e445eb57e5..63be3be62ebd 100644
--- a/drivers/staging/bcm/nvm.c
+++ b/drivers/staging/bcm/nvm.c
@@ -3374,7 +3374,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
3374 case DSD2: 3374 case DSD2:
3375 if (ReadDSDSignature(Adapter, eFlash2xSectVal) == DSD_IMAGE_MAGIC_NUMBER) { 3375 if (ReadDSDSignature(Adapter, eFlash2xSectVal) == DSD_IMAGE_MAGIC_NUMBER) {
3376 HighestPriDSD = getHighestPriDSD(Adapter); 3376 HighestPriDSD = getHighestPriDSD(Adapter);
3377 if ((HighestPriDSD == eFlash2xSectVal)) { 3377 if (HighestPriDSD == eFlash2xSectVal) {
3378 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Given DSD<%x> already has highest priority", eFlash2xSectVal); 3378 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Given DSD<%x> already has highest priority", eFlash2xSectVal);
3379 Status = STATUS_SUCCESS; 3379 Status = STATUS_SUCCESS;
3380 break; 3380 break;
@@ -3402,7 +3402,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
3402 3402
3403 HighestPriDSD = getHighestPriDSD(Adapter); 3403 HighestPriDSD = getHighestPriDSD(Adapter);
3404 3404
3405 if ((HighestPriDSD == eFlash2xSectVal)) { 3405 if (HighestPriDSD == eFlash2xSectVal) {
3406 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Made the DSD: %x highest by reducing priority of other\n", eFlash2xSectVal); 3406 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Made the DSD: %x highest by reducing priority of other\n", eFlash2xSectVal);
3407 Status = STATUS_SUCCESS; 3407 Status = STATUS_SUCCESS;
3408 break; 3408 break;
@@ -3421,7 +3421,7 @@ int BcmSetActiveSection(struct bcm_mini_adapter *Adapter, enum bcm_flash2x_secti
3421 } 3421 }
3422 3422
3423 HighestPriDSD = getHighestPriDSD(Adapter); 3423 HighestPriDSD = getHighestPriDSD(Adapter);
3424 if ((HighestPriDSD == eFlash2xSectVal)) { 3424 if (HighestPriDSD == eFlash2xSectVal) {
3425 Status = STATUS_SUCCESS; 3425 Status = STATUS_SUCCESS;
3426 break; 3426 break;
3427 } 3427 }