mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
rpc: remove redundant logic
Introduced by commit <0eaa59dce1>. That comparison already returns true or false. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
9f0ae0b18e
commit
fae22fced4
@ -1090,7 +1090,7 @@ virNetServerClientClose(virNetServerClientPtr client)
|
||||
bool
|
||||
virNetServerClientIsClosedLocked(virNetServerClientPtr client)
|
||||
{
|
||||
return client->sock == NULL ? true : false;
|
||||
return client->sock == NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user