PCI: vmd: Drop redundant includes of <asm/device.h>, <asm/msi.h>
authorKrzysztof Wilczyński <kw@linux.com>
Wed, 13 Oct 2021 00:31:44 +0000 (00:31 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 14:14:51 +0000 (09:14 -0500)
We already include <linux/device.h> and <linux/msi.h>, which
include <asm/device.h> and <asm/msi.h>.

Drop the redundant includes of <asm/device.h> and <asm/msi.h>.

[bhelgaas: squash in fix from Wan Jiabing <wanjiabing@vivo.com>:
https://lore.kernel.org/r/20211104063720.29375-1-wanjiabing@vivo.com]
Link: https://lore.kernel.org/r/20211013003145.1107148-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Derrick <jonathan.derrick@linux.dev>
drivers/pci/controller/vmd.c

index a5987e5..1ed2667 100644 (file)
@@ -18,8 +18,6 @@
 #include <linux/rcupdate.h>
 
 #include <asm/irqdomain.h>
-#include <asm/device.h>
-#include <asm/msi.h>
 
 #define VMD_CFGBAR     0
 #define VMD_MEMBAR1    2