diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2018-01-22 18:34:49 -0800 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-01-31 10:36:49 -0800 |
commit | 4abdbfa7331ef5a79a6f89d2d8061ac085878756 (patch) | |
tree | 18c43d3c5593b03d5a295075ee5ef6584d344db3 /drivers/platform/mellanox | |
parent | 1f976f6978bf6156ce822eb279ac86c519b10329 (diff) | |
download | linux-4abdbfa7331ef5a79a6f89d2d8061ac085878756.tar.gz linux-4abdbfa7331ef5a79a6f89d2d8061ac085878756.tar.bz2 linux-4abdbfa7331ef5a79a6f89d2d8061ac085878756.zip |
platform/mellanox: mlxreg-hotplug: Remove unused wait.h include
The driver does not make use of anything defined in wait.h.
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[dvhart: refactor into smaller functional changes, leave spinlock.h]
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/mellanox')
-rw-r--r-- | drivers/platform/mellanox/mlxreg-hotplug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c index 5cfc82ba34be..e55f57639cc1 100644 --- a/drivers/platform/mellanox/mlxreg-hotplug.c +++ b/drivers/platform/mellanox/mlxreg-hotplug.c @@ -42,7 +42,6 @@ #include <linux/platform_data/mlxreg.h> #include <linux/platform_device.h> #include <linux/spinlock.h> -#include <linux/wait.h> #include <linux/workqueue.h> /* Offset of event and mask registers from status register */ |