diff options
author | 2017-01-12 08:24:16 -0700 | |
---|---|---|
committer | 2017-01-13 08:23:33 -0700 | |
commit | 94a6fa899d2cb5ee76933406df32996576a562e4 (patch) | |
tree | 8216e1077aa01292058191702e0506d4bdd5cb29 /drivers/vfio/vfio_iommu_type1.c | |
parent | vfio iommu type1: fix the testing of capability for remote task (diff) | |
download | linux-94a6fa899d2cb5ee76933406df32996576a562e4.tar.gz linux-94a6fa899d2cb5ee76933406df32996576a562e4.tar.bz2 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/vfio_iommu_type1.c')
-rw-r--r-- | drivers/vfio/vfio_iommu_type1.c | 1 |
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> |