linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: iop13xx: Remove duplicated bit-wise or of PCI_STATUS_REC_TARGET_ABORT
@ 2018-02-28 17:38 Colin King
  0 siblings, 0 replies; only message in thread
From: Colin King @ 2018-02-28 17:38 UTC (permalink / raw)
  To: Russell King, linux-arm-kernel, linux-kernel; +Cc: kernel-janitors

From: Colin Ian King <colin.king@canonical.com>

Bit pattern PCI_STATUS_REC_TARGET_ABORT is being bit-wise or'd twice;
remove the redundant 2nd PCI_STATUS_REC_TARGET_ABORT

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 arch/arm/mach-iop13xx/pci.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-iop13xx/pci.h b/arch/arm/mach-iop13xx/pci.h
index 736168d8c7ac..c6a0678c1741 100644
--- a/arch/arm/mach-iop13xx/pci.h
+++ b/arch/arm/mach-iop13xx/pci.h
@@ -23,7 +23,6 @@ void iop13xx_map_pci_memory(void);
 #define IOP_PCI_STATUS_ERROR (PCI_STATUS_PARITY |	     \
 			       PCI_STATUS_SIG_TARGET_ABORT | \
 			       PCI_STATUS_REC_TARGET_ABORT | \
-			       PCI_STATUS_REC_TARGET_ABORT | \
 			       PCI_STATUS_REC_MASTER_ABORT | \
 			       PCI_STATUS_SIG_SYSTEM_ERROR | \
 	 		       PCI_STATUS_DETECTED_PARITY)
-- 
2.15.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-28 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 17:38 [PATCH] ARM: iop13xx: Remove duplicated bit-wise or of PCI_STATUS_REC_TARGET_ABORT Colin King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).