aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Elisei <alexandru.elisei@arm.com>2021-10-12 14:25:05 +0100
committerWill Deacon <will@kernel.org>2021-10-13 08:36:59 +0100
commit3d3dca077ae298636f441b302264abe7a1af7b9f (patch)
tree638f6c394ab7c1f19ba7e7d9402f48ee3b01c929
parente3b0ade2de2b1d38630d51600d5e6eb859f5dc89 (diff)
downloadkvmtool-3d3dca077ae298636f441b302264abe7a1af7b9f.tar.gz
vfio/pci.c: Remove double include for assert.h
assert.h is included twice, keep only one instance. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Link: https://lore.kernel.org/r/20211012132510.42134-3-alexandru.elisei@arm.com Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--vfio/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vfio/pci.c b/vfio/pci.c
index ea33fd6e..10ff99e7 100644
--- a/vfio/pci.c
+++ b/vfio/pci.c
@@ -10,8 +10,6 @@
#include <sys/resource.h>
#include <sys/time.h>
-#include <assert.h>
-
/* Some distros don't have the define. */
#ifndef PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1
#define PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 12