Re: [PATCH rdma-next 10/11] RDMA/iser: Delete useless module.h include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/23/2022 8:02 PM, Leon Romanovsky wrote:
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/iser/iser_memory.c | 1 -
  drivers/infiniband/ulp/iser/iser_verbs.c  | 1 -
  2 files changed, 2 deletions(-)

diff --git a/drivers/infiniband/ulp/iser/iser_memory.c b/drivers/infiniband/ulp/iser/iser_memory.c
index 660982625488..f1fd05d8609d 100644
--- a/drivers/infiniband/ulp/iser/iser_memory.c
+++ b/drivers/infiniband/ulp/iser/iser_memory.c
@@ -30,7 +30,6 @@
   * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   * SOFTWARE.
   */
-#include <linux/module.h>
  #include <linux/kernel.h>
  #include <linux/slab.h>
  #include <linux/mm.h>
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c
index 8bf87b073d9b..8893bc27d8f5 100644
--- a/drivers/infiniband/ulp/iser/iser_verbs.c
+++ b/drivers/infiniband/ulp/iser/iser_verbs.c
@@ -32,7 +32,6 @@
   * SOFTWARE.
   */
  #include <linux/kernel.h>
-#include <linux/module.h>
  #include <linux/slab.h>
  #include <linux/delay.h>

Looks good thanks,

Acked-by: Max Gurtovoy <mgurtovoy@xxxxxxxxxx>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux