[PATCH rdma-next 09/11] RDMA/ipoib: Delete useless module.h include

From: Leon Romanovsky
Date: Sun Jan 23 2022 - 13:03:57 EST


From: Leon Romanovsky <leonro@xxxxxxxxxx>

There is no need in include of module.h in the following files.

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
---
drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 1 -
drivers/infiniband/ulp/ipoib/ipoib_vlan.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_netlink.c b/drivers/infiniband/ulp/ipoib/ipoib_netlink.c
index 5b05cf3837da..ea16ba5d8da6 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_netlink.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_netlink.c
@@ -32,7 +32,6 @@

#include <linux/netdevice.h>
#include <linux/if_arp.h> /* For ARPHRD_xxx */
-#include <linux/module.h>
#include <net/rtnetlink.h>
#include "ipoib.h"

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
index 0322dc75396f..4bd161e86f8d 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
@@ -30,7 +30,6 @@
* SOFTWARE.
*/

-#include <linux/module.h>
#include <linux/sched/signal.h>

#include <linux/init.h>
--
2.34.1