diff mbox series

[-next] RDMA/erdma: Remove duplicated include in erdma_cm.c

Message ID 20220608010410.88429-1-yang.lee@linux.alibaba.com (mailing list archive)
State Not Applicable
Headers show
Series [-next] RDMA/erdma: Remove duplicated include in erdma_cm.c | expand

Commit Message

Yang Li June 8, 2022, 1:04 a.m. UTC
Fix following includecheck warning:
./drivers/infiniband/hw/erdma/erdma_cm.c: linux/inetdevice.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/infiniband/hw/erdma/erdma_cm.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Cheng Xu June 8, 2022, 6:12 a.m. UTC | #1
On 6/8/22 9:04 AM, Yang Li wrote:
> Fix following includecheck warning:
> ./drivers/infiniband/hw/erdma/erdma_cm.c: linux/inetdevice.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>


Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>

Thanks.
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/erdma/erdma_cm.c b/drivers/infiniband/hw/erdma/erdma_cm.c
index f97711b3689a..7cc0a99c459e 100644
--- a/drivers/infiniband/hw/erdma/erdma_cm.c
+++ b/drivers/infiniband/hw/erdma/erdma_cm.c
@@ -13,7 +13,6 @@ 
 #include <linux/errno.h>
 #include <linux/inetdevice.h>
 #include <linux/net.h>
-#include <linux/inetdevice.h>
 #include <net/addrconf.h>
 #include <linux/tcp.h>
 #include <linux/types.h>