mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
secret/secret_driver.c: remove unneeded label
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
c57d01479d
commit
29a760a97a
@ -591,13 +591,13 @@ secretConnectSecretEventRegisterAny(virConnectPtr conn,
|
||||
int callbackID = -1;
|
||||
|
||||
if (virConnectSecretEventRegisterAnyEnsureACL(conn) < 0)
|
||||
goto cleanup;
|
||||
return -1;
|
||||
|
||||
if (virSecretEventStateRegisterID(conn, driver->secretEventState,
|
||||
secret, eventID, callback,
|
||||
opaque, freecb, &callbackID) < 0)
|
||||
callbackID = -1;
|
||||
cleanup:
|
||||
|
||||
return callbackID;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user