diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-07-28 07:38:01 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-28 22:19:41 -0700 |
commit | 707e304dd2e8e169c2a34220b7081649249ec8e7 (patch) | |
tree | 506d157e9f16a432a37335b67633fab11e1f4984 | |
parent | 6ecf206d602fafd077811b6033c183deb0c0a9c8 (diff) |
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.
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>
Link: https://lore.kernel.org/r/20220727233801.23781-1-yang.lee@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
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> |