From: Felix Fietkau Date: Thu, 2 Oct 2014 09:39:55 +0000 (+0200) Subject: fix tautological check X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b2927d9a9b804dd405b67ac533602a3b81a3d9a;p=oweals%2Fuqmi.git fix tautological check Signed-off-by: Felix Fietkau --- diff --git a/commands-wds.c b/commands-wds.c index ce7d715..a1804cf 100644 --- a/commands-wds.c +++ b/commands-wds.c @@ -104,7 +104,6 @@ cmd_wds_get_packet_service_status_cb(struct qmi_dev *qmi, struct qmi_request *re qmi_parse_wds_get_packet_service_status_response(msg, &res); if (res.set.connection_status && - res.data.connection_status >= 0 && res.data.connection_status < ARRAY_SIZE(data_status)) s = res.data.connection_status;