2013-10-20 05:14:07

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] ethernet: moxa: remove duplicate includes

Reported by "make includecheck"

Tested that drivers/net/ethernet/moxa/moxart_ether.c still compiles
well on ARM

Signed-off-by: Michael Opdenacker <[email protected]>
---
drivers/net/ethernet/moxa/moxart_ether.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c
index bd1a2d2..7d4c8cc 100644
--- a/drivers/net/ethernet/moxa/moxart_ether.c
+++ b/drivers/net/ethernet/moxa/moxart_ether.c
@@ -26,7 +26,6 @@
#include <linux/of_irq.h>
#include <linux/crc32.h>
#include <linux/crc32c.h>
-#include <linux/dma-mapping.h>

#include "moxart_ether.h"

--
1.8.1.2


2013-10-21 22:47:23

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] ethernet: moxa: remove duplicate includes

From: Michael Opdenacker <[email protected]>
Date: Sun, 20 Oct 2013 07:13:56 +0200

> Reported by "make includecheck"
>
> Tested that drivers/net/ethernet/moxa/moxart_ether.c still compiles
> well on ARM
>
> Signed-off-by: Michael Opdenacker <[email protected]>

Applied.