Skip to contentSkip to conversation

mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

PATCH Applied Yang Li 3 participants 3 messages Jul 27, 2022 – Jul 29, 2022

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

Fix following includecheck warning:
./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.h is included more than once.

---
 drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c +0 -1
index 49fee038a99c..af37e650a8ad 100644
@@ -5,7 +5,6 @@
 #include <linux/module.h>
 #include <linux/err.h>
 #include <linux/types.h>
-#include <linux/err.h>
 #include <linux/auxiliary_bus.h>
 #include <linux/idr.h>
 #include <linux/gfp.h>
Signature · 1 line
2.20.1.7.g153144c
#2 lore raw
In reply to Yang Li
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Thu, 28 Jul 2022 07:38:01 +0800 you wrote:

Fix following includecheck warning:
./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.h is included more than once.

---
 drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- [-next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

    https://git.kernel.org/netdev/net-next/c/707e304dd2e8

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html