diff mbox

[net,1/2] sxgbe: fix duplicate #include headers

Message ID 1396679341-23502-2-git-send-email-sakiwit@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Jεan Sacren April 5, 2014, 6:29 a.m. UTC
The commit 1edb9ca69e8a ("net: sxgbe: add basic framework for
Samsung 10Gb ethernet driver") added support for Samsung 10Gb
ethernet driver(sxgbe) with a minor issue of including linux/io.h
header twice in sxgbe_dma.c file. Fix the duplicate #include by
deleting the top one so that all the rest good #include headers
would be preserved in the alphabetical order.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Byungho An <bh74.an@samsung.com>
Cc: Girish K S <ks.giri@samsung.com>
Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
Cc: Vipul Pandya <vipul.pandya@samsung.com>
---
 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 -
 1 file changed, 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Byungho An April 7, 2014, 9:46 a.m. UTC | #1
Jean Sacren wrote:
> 
> The commit 1edb9ca69e8a ("net: sxgbe: add basic framework for
> Samsung 10Gb ethernet driver") added support for Samsung 10Gb
> ethernet driver(sxgbe) with a minor issue of including linux/io.h
> header twice in sxgbe_dma.c file. Fix the duplicate #include by
> deleting the top one so that all the rest good #include headers
> would be preserved in the alphabetical order.
> 
> Signed-off-by: Jean Sacren <sakiwit@gmail.com>
> Cc: Byungho An <bh74.an@samsung.com>

Acked-by: Byungho An <bh74.an@samsung.com>

Thanks,
Byungho

> Cc: Girish K S <ks.giri@samsung.com>
> Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
> Cc: Vipul Pandya <vipul.pandya@samsung.com>
> ---
>  drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> index 28f89c41d0cd..4d989ff6c978 100644
> --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> @@ -9,7 +9,6 @@
>   * it under the terms of the GNU General Public License version 2 as
>   * published by the Free Software Foundation.
>   */
> -#include <linux/io.h>
>  #include <linux/delay.h>
>  #include <linux/export.h>
>  #include <linux/io.h>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
index 28f89c41d0cd..4d989ff6c978 100644
--- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
+++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
@@ -9,7 +9,6 @@ 
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/export.h>
 #include <linux/io.h>