Message ID | 20210913154413.14322-3-alexandru.elisei@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vfio/pci: Fix MSIX table and PBA size allocation | expand |
On Mon, 13 Sep 2021 16:44:08 +0100 Alexandru Elisei <alexandru.elisei@arm.com> wrote: > assert.h is included twice, keep only one instance. > > Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > --- > vfio/pci.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/vfio/pci.c b/vfio/pci.c > index ea33fd6..10ff99e 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
diff --git a/vfio/pci.c b/vfio/pci.c index ea33fd6..10ff99e 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
assert.h is included twice, keep only one instance. Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> --- vfio/pci.c | 2 -- 1 file changed, 2 deletions(-)