[libvirt] [PATCH] qemu_tpm: Drop needles include of cap-ng.h

Michal Privoznik posted 1 patch 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/2ddb6de39bd870bcac1ad313ae3f496674515b81.1528353703.git.mprivozn@redhat.com
Test syntax-check passed
src/qemu/qemu_tpm.c | 1 -
1 file changed, 1 deletion(-)
[libvirt] [PATCH] qemu_tpm: Drop needles include of cap-ng.h
Posted by Michal Privoznik 5 years, 10 months ago
qemu_tpm.c is not calling any capng_* functions. Let's drop this
include then. This also fixes a build failure without capng.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---

Pushed under build breaker and trivial rules.

 src/qemu/qemu_tpm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/qemu_tpm.c b/src/qemu/qemu_tpm.c
index 2349fa92d9..278b262c48 100644
--- a/src/qemu/qemu_tpm.c
+++ b/src/qemu/qemu_tpm.c
@@ -25,7 +25,6 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <cap-ng.h>
 
 #include "qemu_extdevice.h"
 #include "qemu_domain.h"
-- 
2.16.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] qemu_tpm: Drop needles include of cap-ng.h
Posted by Michal Privoznik 5 years, 10 months ago
On 06/07/2018 01:59 PM, Michal Privoznik wrote:
> qemu_tpm.c is not calling any capng_* functions. Let's drop this
> include then. This also fixes a build failure without capng.
> 
> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
> ---
> 
> Pushed under build breaker and trivial rules.
> 
>  src/qemu/qemu_tpm.c | 1 -
>  1 file changed, 1 deletion(-)

Ooops. git send-email 000* wasn't such a great idea after all. This
patch does not belong into this patch set, obviously.

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list