[patch v10 1/6] platform/mellanox: mlxreg-hotplug: Remove unused wait.h include

From: Vadim Pasternak
Date: Tue Jan 23 2018 - 13:38:14 EST


The driver does not make use of anything defined in wait.h.

Signed-off-by: Vadim Pasternak <vadimp@xxxxxxxxxxxx>
Acked-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
---
v9->v10:
Fixes provideded by Darren:
- make separate patch for cleaning unused includes;
- do not remove spinlock.h from includes and make;
---
drivers/platform/mellanox/mlxreg-hotplug.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c
index 2866c76..c015fe9 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 */
--
2.1.4