mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
mtd: mxc_nand: Remove bit-or operation with zero
Doing a bit-or operation with zero is pointless. Remove this unneeded bit-or. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
20625dfe03
commit
1b15b1f5a0
@ -1067,8 +1067,7 @@ static void preset_v3(struct mtd_info *mtd)
|
||||
|
||||
/* Blocks to be unlocked */
|
||||
for (i = 0; i < NAND_MAX_CHIPS; i++)
|
||||
writel(0x0 | (0xffff << 16),
|
||||
NFC_V3_WRPROT_UNLOCK_BLK_ADD0 + (i << 2));
|
||||
writel(0xffff << 16, NFC_V3_WRPROT_UNLOCK_BLK_ADD0 + (i << 2));
|
||||
|
||||
writel(0, NFC_V3_IPC);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user