summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2017-01-12 16:24:16 +0100
committerAlex Williamson <alex.williamson@redhat.com>2017-01-13 16:23:33 +0100
commit94a6fa899d2cb5ee76933406df32996576a562e4 (patch)
tree8216e1077aa01292058191702e0506d4bdd5cb29 /drivers/vfio
parentvfio iommu type1: fix the testing of capability for remote task (diff)
downloadlinux-94a6fa899d2cb5ee76933406df32996576a562e4.tar.xz
linux-94a6fa899d2cb5ee76933406df32996576a562e4.zip
vfio/type1: Remove pid_namespace.h include
Using has_capability() rather than ns_capable(), we're no longer using this header. Cc: Jike Song <jike.song@intel.com> Cc: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/vfio_iommu_type1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
index 77373e51b283..b3cc33fa6d26 100644
--- a/drivers/vfio/vfio_iommu_type1.c
+++ b/drivers/vfio/vfio_iommu_type1.c
@@ -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>