diff mbox series

[28/31] net: Drop duplicate include of dm.h in pcnet.c

Message ID 20200719161601.495421-29-sjg@chromium.org
State Accepted
Commit 41ba040e169dce7b575ab108e752deb8431d9809
Delegated to: Tom Rini
Headers show
Series dm: Avoid including dm.h in header files | expand

Commit Message

Simon Glass July 19, 2020, 4:15 p.m. UTC
This file includes the header twice. Drop the second one.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/net/pcnet.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Tom Rini Aug. 4, 2020, 3:06 p.m. UTC | #1
On Sun, Jul 19, 2020 at 10:15:58AM -0600, Simon Glass wrote:

> This file includes the header twice. Drop the second one.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index 559560860b..ad5ac6618f 100644
--- a/drivers/net/pcnet.c
+++ b/drivers/net/pcnet.c
@@ -10,7 +10,6 @@ 
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
-#include <dm.h>
 #include <malloc.h>
 #include <memalign.h>
 #include <net.h>