[PATCH] vfio/type1: Remove pid_namespace.h include

From: Alex Williamson
Date: Thu Jan 12 2017 - 10:27:12 EST


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

Cc: Jike Song <jike.song@xxxxxxxxx>
Cc: Kirti Wankhede <kwankhede@xxxxxxxxxx>
Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
---
drivers/vfio/vfio_iommu_type1.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
index 77373e5..b3cc33f 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>