vfio/type1: Remove pid_namespace.h include
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 12 Jan 2017 15:24:16 +0000 (08:24 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 13 Jan 2017 15:23:33 +0000 (08:23 -0700)
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>
drivers/vfio/vfio_iommu_type1.c

index 77373e51b2836b56745b6484dcad195c39aa16bd..b3cc33fa6d26a69f44dc013b7bee55f6bd7682ab 100644 (file)
@@ -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>