]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/mellanox: mlxreg-hotplug: Remove unused wait.h include
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 23 Jan 2018 02:34:49 +0000 (18:34 -0800)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 31 Jan 2018 18:36:49 +0000 (10:36 -0800)
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>
drivers/platform/mellanox/mlxreg-hotplug.c

index 5cfc82ba34be8ee744eed74a19b71007253a9c0d..e55f57639cc14e604321887950dce50cb41e0a65 100644 (file)
@@ -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 */