IB/mlx5: Remove superfluous include of io-mapping.h
authorChris Wilson <[email protected]>
Tue, 23 Aug 2016 20:16:26 +0000 (21:16 +0100)
committerDoug Ledford <[email protected]>
Wed, 24 Aug 2016 15:30:39 +0000 (11:30 -0400)
This file does not use any structs or functions defined by io-mapping.h
(nor does it directly use iomap, ioremap, iounamp or friends). Remove it
to simplify verification of changes to io-mapping.h

The include existed since its inception in

commit e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c
Author: Eli Cohen <[email protected]>
Date:   Sun Jul 7 17:25:49 2013 +0300

    mlx5: Add driver for Mellanox Connect-IB adapters

which looks like a copy across from the Mellanox ethernet driver.

Signed-off-by: Chris Wilson <[email protected]>
Cc: Eli Cohen <[email protected]>
Cc: Jack Morgenstein <[email protected]>
Cc: Or Gerlitz <[email protected]>
Cc: Matan Barak <[email protected]>
Cc: Leon Romanovsky <[email protected]>
Cc: Doug Ledford <[email protected]>
Cc: Sean Hefty <[email protected]>
Cc: Hal Rosenstock <[email protected]>
Cc: [email protected]
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Laurence Oberman <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/mlx5/main.c

index a84bb766fc62874bc45303268c25b961e45cd4f1..1b4094baa2deec0622f430aa57a44a7fb94724e7 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
-#include <linux/io-mapping.h>
 #if defined(CONFIG_X86)
 #include <asm/pat.h>
 #endif