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:
Pavel Hrdina 2018-01-04 14:22:11 +01:00
parent 9f0ae0b18e
commit fae22fced4

View File

@ -1090,7 +1090,7 @@ virNetServerClientClose(virNetServerClientPtr client)
bool
virNetServerClientIsClosedLocked(virNetServerClientPtr client)
{
return client->sock == NULL ? true : false;
return client->sock == NULL;
}