diff mbox series

[-next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

Message ID 20220727233801.23781-1-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Commit 707e304dd2e8e169c2a34220b7081649249ec8e7
Delegated to: Netdev Maintainers
Headers show
Series [-next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c | expand

Checks

Context Check Description
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yang Li July 27, 2022, 11:38 p.m. UTC
Fix following includecheck warning:
./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.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/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Ido Schimmel July 28, 2022, 6:36 a.m. UTC | #1
On Thu, Jul 28, 2022 at 07:38:01AM +0800, Yang Li wrote:
> Fix following includecheck warning:
> ./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.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: Ido Schimmel <idosch@nvidia.com>

BTW, next time, please use "net-next" instead of "-next".

Thanks
patchwork-bot+netdevbpf@kernel.org July 29, 2022, 5:30 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

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.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  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!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c b/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
index 49fee038a99c..af37e650a8ad 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
@@ -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>