summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.csengg@gmail.com>2020-03-21 11:21:39 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-04-02 17:57:10 +0100
commite48ba3eb29a280d2d7cf62be6cf5cce6a26cba82 (patch)
treec8c0e337c0568abd49f1348e95938855c4a68f9f /drivers/misc
parent54455238be89f9d00d437e7d4f6b7442addb95b0 (diff)
downloadlinux-stable-e48ba3eb29a280d2d7cf62be6cf5cce6a26cba82.tar.gz
linux-stable-e48ba3eb29a280d2d7cf62be6cf5cce6a26cba82.tar.bz2
linux-stable-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')
-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