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