After previous commit, there's no functional difference between real virRandomGenerateWWN() and the mocked version. Drop the mock then. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- tests/virrandommock.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/virrandommock.c b/tests/virrandommock.c index 2673230cf7..17c55f4c60 100644 --- a/tests/virrandommock.c +++ b/tests/virrandommock.c @@ -47,14 +47,6 @@ uint64_t virRandomBits(int nbits) return ret; } -int virRandomGenerateWWN(char **wwn, - const char *virt_type G_GNUC_UNUSED) -{ - *wwn = g_strdup_printf("5100000%09llx", - (unsigned long long)virRandomBits(36)); - return 0; -} - #else /* WIN32 */ /* Can't mock on WIN32 */ #endif -- 2.41.0