1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-27 11:34:09 +03:00

Remove redundant usage of WITH_YAJL

As of commit 2a00ef6e71 which
was released in v5.2.0, we require YAJL to build the QEMU driver.

Remove the checks from code that requires the QEMU driver
or checks that also check for WITH_QEMU.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Ján Tomko
2019-12-12 18:17:08 +01:00
parent 1100931f8d
commit 20071c9f99
10 changed files with 28 additions and 78 deletions

View File

@@ -1426,11 +1426,6 @@ mymain(void)
{
int ret = 0;
#if !WITH_YAJL
fputs("libvirt not compiled with JSON support, skipping this test\n", stderr);
return EXIT_AM_SKIP;
#endif
if (qemuTestDriverInit(&driver) < 0)
return EXIT_FAILURE;