Remove useless expression from patty_client_ping()

This commit is contained in:
XANTRONIX Development 2020-09-23 09:38:24 -05:00 committed by XANTRONIX Industrial
parent 54d6324dea
commit 9dd27b5924

View file

@ -126,7 +126,7 @@ int patty_client_ping(patty_client *client) {
return pong;
done:
if (errno == 0 || errno == EIO) {
if (errno == EIO) {
errno = 0;
return 0;