Skip to contentSkip to conversation

vfio/type1: Remove pid_namespace.h include

PATCH New Alex Williamson 1 participant 1 message Jan 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio/type1: Remove pid_namespace.h include

Using has_capability() rather than ns_capable(), we're no longer using this header.

Cc Jike Song <[email protected]>
Cc Kirti Wankhede <[email protected]>
---
 drivers/vfio/vfio_iommu_type1.c |    1 -
 1 file changed, 1 deletion(-)
drivers/vfio/vfio_iommu_type1.c +0 -1
index 77373e5..b3cc33f 100644
@@ -36,7 +36,6 @@
 #include <linux/uaccess.h>
 #include <linux/vfio.h>
 #include <linux/workqueue.h>
-#include <linux/pid_namespace.h>
 #include <linux/mdev.h>
 #include <linux/notifier.h>