mips: pci-mt7620: do not print NFTS register value as error log
authorShiji Yang <yangshiji66@outlook.com>
Tue, 20 Jun 2023 10:43:22 +0000 (18:43 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 21 Jun 2023 12:53:19 +0000 (14:53 +0200)
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 <yangshiji66@outlook.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-mt7620.c

index 2700d75d41c53d023661bfe0b2bb4cb8912f6b16..df3347643beddab72625608e31c4424e87f61562 100644 (file)
@@ -274,9 +274,6 @@ static int mt7628_pci_hw_init(struct platform_device *pdev)
        val |= 0x50 << 8;
        pci_config_write(NULL, 0, 0x70c, 4, val);
 
-       pci_config_read(NULL, 0, 0x70c, 4, &val);
-       dev_err(&pdev->dev, "Port 0 N_FTS = %x\n", (unsigned int) val);
-
        return 0;
 }