RDMA/rxe: Delete useless module.h include
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 23 Jan 2022 18:02:57 +0000 (20:02 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 Jan 2022 17:03:13 +0000 (13:03 -0400)
There is no need in include of module.h in the following files.

Link: https://lore.kernel.org/r/8bdb652b01f2316bc57b456fb8c60bfbffe6cc64.1642960861.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe.h
drivers/infiniband/sw/rxe/rxe_mmap.c

index fb9066e6f5f0239b30fdb4aeb9c6bc205fde2b72..30fbdf3bc76a34dc3cfa2e21279ebb88226adbee 100644 (file)
@@ -12,7 +12,6 @@
 #endif
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/module.h>
 #include <linux/skbuff.h>
 
 #include <rdma/ib_verbs.h>
index 035f226af1336f80486f2a139a09ed4f7e3e974a..9149b60954296004de0b1babb97e03fc0e6c1f47 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved.
  */
 
-#include <linux/module.h>
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
 #include <linux/errno.h>