net/mlx5: Remove not-used lib/eq.h header file

This change “net/mlx5: Remove not-used lib/eq.h header file” in Linux kernel is authored by Leon Romanovsky <leonro [at] mellanox.com> on Wed Nov 28 20:53:35 2018 +0200.

net/mlx5: Remove not-used lib/eq.h header file

lib/eq.h is needed for EQ manipulation which are not performed in SRQ.

Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 26d1164.

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/ethernet/mellanox/mlx5/core/srq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/srq.c b/drivers/net/ethernet/mellanox/mlx5/core/srq.c
index 10036aaa..248f1c8 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/srq.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/srq.c
@@ -11,7 +11,6 @@
 #include <rdma/ib_verbs.h>
 #include <linux/mlx5/transobj.h>
 #include "mlx5_core.h"
-#include "lib/eq.h"
 
 static int srq_event_notifier(struct notifier_block *nb,
 			      unsigned long type, void *data)

The commit for this change in Linux stable tree is 26d1164 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *