mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
virsystemdtest: remove unused 'demo_socket_path'
Commit b56a833243
removed bunch of old code after which
'demo_socket_path' in 'testActivationFDNames' is no longer used
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
b56a833243
commit
c98432784a
@ -526,15 +526,12 @@ testActivationFDNames(const void *opaque G_GNUC_UNUSED)
|
||||
size_t nfds = 0;
|
||||
g_autoptr(virSystemdActivation) act = NULL;
|
||||
g_auto(virBuffer) names = VIR_BUFFER_INITIALIZER;
|
||||
g_autofree char *demo_socket_path = NULL;
|
||||
|
||||
virBufferAddLit(&names, "demo-unix.socket");
|
||||
|
||||
if (testActivationCreateFDs(&sockUNIX, &sockIP, &nsockIP) < 0)
|
||||
return -1;
|
||||
|
||||
demo_socket_path = virNetSocketGetPath(sockUNIX);
|
||||
|
||||
for (i = 0; i < nsockIP; i++)
|
||||
virBufferAddLit(&names, ":demo-ip.socket");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user