Blob Blame History Raw
From: Vadim Pasternak <vadimp@mellanox.com>
Date: Mon, 22 Jan 2018 18:34:49 -0800
Subject: platform/mellanox: mlxreg-hotplug: Remove unused wait.h include
Patch-mainline: v4.16-rc1
Git-commit: 4abdbfa7331ef5a79a6f89d2d8061ac085878756
References: bsc#1112374

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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/platform/mellanox/mlxreg-hotplug.c |    1 -
 1 file changed, 1 deletion(-)

--- 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 */