Message ID | 20200321112139.17184-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | e48ba3eb29a280d2d7cf62be6cf5cce6a26cba82 |
Delegated to: | Lorenzo Pieralisi |
Headers | show |
Series | misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS | expand |
On Sat, Mar 21, 2020 at 11:21:39AM +0000, Lad Prabhakar wrote: > PCI_ENDPOINT_TEST_STATUS is already defined in pci_endpoint_test.c along > with the status bits, so this patch drops duplicate definition. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > This patch applies on top of pci/endpoint branch [1]. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git > > drivers/misc/pci_endpoint_test.c | 1 - > 1 file changed, 1 deletion(-) Applied to pci/endpoint, thanks. Lorenzo > diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c > index b536ca4b14ca..a1bb94902b5a 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 > > -- > 2.20.1 >
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index b536ca4b14ca..a1bb94902b5a 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
PCI_ENDPOINT_TEST_STATUS is already defined in pci_endpoint_test.c along with the status bits, so this patch drops duplicate definition. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- This patch applies on top of pci/endpoint branch [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git drivers/misc/pci_endpoint_test.c | 1 - 1 file changed, 1 deletion(-)