Thursday, 8 October
2020
Thu, 8 Oct
'20
7:12 a.m.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/remote/remote_daemon_dispatch.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon_dispatch.c
index 90115167fb..b8813611c8 100644
--- a/src/remote/remote_daemon_dispatch.c
+++ b/src/remote/remote_daemon_dispatch.c
@@ -3593,7 +3593,6 @@ remoteDispatchAuthList(virNetServerPtr server,
virNetMessageErrorPtr rerr,
remote_auth_list_ret *ret)
{
- int rv = -1;
int auth = virNetServerClientGetAuth(client);
uid_t callerUid;
gid_t callerGid;
@@ -3636,11 +3635,7 @@ remoteDispatchAuthList(virNetServerPtr server,
break;
}
- rv = 0;
-
- if (rv < 0)
- virNetMessageSaveError(rerr);
- return rv;
+ return 0;
}
--
2.26.2