summaryrefslogtreecommitdiffstats
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.csengg@gmail.com>2020-03-21 12:21:39 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-04-02 18:57:10 +0200
commite48ba3eb29a280d2d7cf62be6cf5cce6a26cba82 (patch)
treec8c0e337c0568abd49f1348e95938855c4a68f9f /drivers/misc/pci_endpoint_test.c
parentPCI: tegra: Print -EPROBE_DEFER error message at debug level (diff)
downloadlinux-e48ba3eb29a280d2d7cf62be6cf5cce6a26cba82.tar.xz
linux-e48ba3eb29a280d2d7cf62be6cf5cce6a26cba82.zip
misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS
PCI_ENDPOINT_TEST_STATUS is already defined in pci_endpoint_test.c along with the status bits, drop the duplicate definition. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
-rw-r--r--drivers/misc/pci_endpoint_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
index bc3ae4a4fb5c..ef5a1af6bab7 100644
--- a/drivers/misc/pci_endpoint_test.c
+++ b/drivers/misc/pci_endpoint_test.c
@@ -53,7 +53,6 @@
#define STATUS_SRC_ADDR_INVALID BIT(7)
#define STATUS_DST_ADDR_INVALID BIT(8)
-#define PCI_ENDPOINT_TEST_STATUS 0x8
#define PCI_ENDPOINT_TEST_LOWER_SRC_ADDR 0x0c
#define PCI_ENDPOINT_TEST_UPPER_SRC_ADDR 0x10