Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tugce Sirin and committed by
Greg Kroah-Hartman
65fbed37 f1e2fb65

+3 -3
+3 -3
drivers/staging/bcm/nvm.c
··· 3374 3374 case DSD2: 3375 3375 if (ReadDSDSignature(Adapter, eFlash2xSectVal) == DSD_IMAGE_MAGIC_NUMBER) { 3376 3376 HighestPriDSD = getHighestPriDSD(Adapter); 3377 - if ((HighestPriDSD == eFlash2xSectVal)) { 3377 + if (HighestPriDSD == eFlash2xSectVal) { 3378 3378 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, NVM_RW, DBG_LVL_ALL, "Given DSD<%x> already has highest priority", eFlash2xSectVal); 3379 3379 Status = STATUS_SUCCESS; 3380 3380 break; ··· 3402 3402 3403 3403 HighestPriDSD = getHighestPriDSD(Adapter); 3404 3404 3405 - if ((HighestPriDSD == eFlash2xSectVal)) { 3405 + if (HighestPriDSD == eFlash2xSectVal) { 3406 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 3407 Status = STATUS_SUCCESS; 3408 3408 break; ··· 3421 3421 } 3422 3422 3423 3423 HighestPriDSD = getHighestPriDSD(Adapter); 3424 - if ((HighestPriDSD == eFlash2xSectVal)) { 3424 + if (HighestPriDSD == eFlash2xSectVal) { 3425 3425 Status = STATUS_SUCCESS; 3426 3426 break; 3427 3427 }