PCI: dwc: artpec6: Remove unused defines
authorNiklas Cassel <niklas.cassel@axis.com>
Tue, 19 Dec 2017 23:29:31 +0000 (00:29 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 21 Dec 2017 11:10:31 +0000 (11:10 +0000)
Commit b015b37e6693 ("PCI: artpec6: Stop enabling writes to
DBI read-only registers") removed the only write using these
defines, but it did not remove the defines.
Remove the defines since they are now unused.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/dwc/pcie-artpec6.c

index 6653619db6a1156930cff6a46f34fdd29a37fcac..4b8ef266dc2fa28b20c216e67ccd1acf2470c905 100644 (file)
@@ -37,9 +37,6 @@ struct artpec6_pcie {
 #define PCIE_PHY_DEBUG_R0              (PL_OFFSET + 0x28)
 #define PCIE_PHY_DEBUG_R1              (PL_OFFSET + 0x2c)
 
-#define MISC_CONTROL_1_OFF             (PL_OFFSET + 0x1bc)
-#define  DBI_RO_WR_EN                  1
-
 /* ARTPEC-6 specific registers */
 #define PCIECFG                                0x18
 #define  PCIECFG_DBG_OEN               (1 << 24)