All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] octeontx2-af: Remove duplicate include
@ 2022-07-13  2:07 Jiapeng Chong
  2022-07-13 14:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-07-13  2:07 UTC (permalink / raw)
  To: sgoutham
  Cc: lcherian, gakula, jerinj, hkelam, sbhatta, davem, edumazet, kuba,
	pabeni, netdev, linux-kernel, Jiapeng Chong, Abaci Robot

The include is in line 14 and 23. Remove the duplicate.

Fix following checkincludes warning:

./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c: linux/bitfield.h is included more than once.
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c: rvu_npc_hash.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
index ed8b9afbf731..ff71e6a87741 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
@@ -11,14 +11,12 @@
 #include <linux/firmware.h>
 #include <linux/stddef.h>
 #include <linux/debugfs.h>
-#include <linux/bitfield.h>
 
 #include "rvu_struct.h"
 #include "rvu_reg.h"
 #include "rvu.h"
 #include "npc.h"
 #include "cgx.h"
-#include "rvu_npc_hash.h"
 #include "rvu_npc_fs.h"
 #include "rvu_npc_hash.h"
 
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-13 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13  2:07 [PATCH] octeontx2-af: Remove duplicate include Jiapeng Chong
2022-07-13 14:00 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.