Skip to content

Commit 9f9a035

Browse files
DragonBlueptsbogend
authored andcommitted
mips: pci-mt7620: do not print NFTS register value as error log
These codes are used to read NFTS_TIMEOUT_DELAY register value and write it into kernel log after writing the register. they are only used for debugging during driver development, so there is no need to keep them now. Tested on MT7628AN router Motorola MWR03. Signed-off-by: Shiji Yang <[email protected]> Reviewed-by: Sergio Paracuellos <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent fc15a71 commit 9f9a035

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/mips/pci/pci-mt7620.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,6 @@ static int mt7628_pci_hw_init(struct platform_device *pdev)
274274
val |= 0x50 << 8;
275275
pci_config_write(NULL, 0, 0x70c, 4, val);
276276

277-
pci_config_read(NULL, 0, 0x70c, 4, &val);
278-
dev_err(&pdev->dev, "Port 0 N_FTS = %x\n", (unsigned int) val);
279-
280277
return 0;
281278
}
282279

0 commit comments

Comments
 (0)