Introduced by commit <0eaa59dce1>. That comparison already returns
true or false.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
Pushed under trivial rule.
src/rpc/virnetserverclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rpc/virnetserverclient.c b/src/rpc/virnetserverclient.c
index cae5375359..1f335d3b1e 100644
--- a/src/rpc/virnetserverclient.c
+++ b/src/rpc/virnetserverclient.c
@@ -1090,7 +1090,7 @@ virNetServerClientClose(virNetServerClientPtr client)
bool
virNetServerClientIsClosedLocked(virNetServerClientPtr client)
{
- return client->sock == NULL ? true : false;
+ return client->sock == NULL;
}
--
2.14.3
Show replies by date