2020-12-09 06:54:04

by Zou Wei

[permalink] [raw]
Subject: [PATCH -next v2] net/mlx5_core: remove unused including <generated/utsrelease.h>

Remove including <generated/utsrelease.h> that don't need it.

Fixes: 17a7612b99e6 ("net/mlx5_core: Clean driver version and name")
Signed-off-by: Zou Wei <[email protected]>
---
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
index 989c70c..82ecc161 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
@@ -30,7 +30,6 @@
* SOFTWARE.
*/

-#include <generated/utsrelease.h>
#include <linux/mlx5/fs.h>
#include <net/switchdev.h>
#include <net/pkt_cls.h>
--
2.6.2


2020-12-15 07:34:46

by Saeed Mahameed

[permalink] [raw]
Subject: Re: [PATCH -next v2] net/mlx5_core: remove unused including <generated/utsrelease.h>

On Wed, 2020-12-09 at 15:01 +0800, Zou Wei wrote:
> Remove including <generated/utsrelease.h> that don't need it.
>
> Fixes: 17a7612b99e6 ("net/mlx5_core: Clean driver version and name")
> Signed-off-by: Zou Wei <[email protected]>
> ---

Applied to net-next-mlx5.

Thanks!