linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ata: ahci_octeon: Remove unnecessary include
@ 2023-06-15  1:01 Damien Le Moal
  0 siblings, 0 replies; only message in thread
From: Damien Le Moal @ 2023-06-15  1:01 UTC (permalink / raw)
  To: linux-ide; +Cc: Sergey Shtylyov, Rob Herring, linux-mips

asm/octeon/octeon.h already includes asm/bitfield.h, so there is no need
to include this latter file in ahci_octeon.c as the code does not
directly use the __BITFIELD_FIELD macro defined in it.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
 drivers/ata/ahci_octeon.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ata/ahci_octeon.c b/drivers/ata/ahci_octeon.c
index 5021ab3ede49..e89807fa928e 100644
--- a/drivers/ata/ahci_octeon.c
+++ b/drivers/ata/ahci_octeon.c
@@ -16,7 +16,6 @@
 #include <linux/of_platform.h>
 
 #include <asm/octeon/octeon.h>
-#include <asm/bitfield.h>
 
 #define CVMX_SATA_UCTL_SHIM_CFG		0xE8
 
-- 
2.40.1


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

only message in thread, other threads:[~2023-06-15  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15  1:01 [PATCH] ata: ahci_octeon: Remove unnecessary include Damien Le Moal

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).