Remove always-false condition
This commit is contained in:
parent
4905215909
commit
3e33089b72
|
@ -53,7 +53,7 @@ SR_PRIV int gpd_receive_reply(struct sr_serial_dev_inst *serial, char *buf,
|
||||||
gint64 start, remaining;
|
gint64 start, remaining;
|
||||||
const int timeout_ms = 100;
|
const int timeout_ms = 100;
|
||||||
|
|
||||||
if (!serial || (lines <= 0) || !buf || (buflen <= 0))
|
if (!serial || !buf || (buflen <= 0))
|
||||||
return SR_ERR_ARG;
|
return SR_ERR_ARG;
|
||||||
|
|
||||||
start = g_get_monotonic_time();
|
start = g_get_monotonic_time();
|
||||||
|
|
Loading…
Reference in New Issue