From 2b2927d9a9b804dd405b67ac533602a3b81a3d9a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 2 Oct 2014 11:39:55 +0200 Subject: [PATCH] fix tautological check Signed-off-by: Felix Fietkau --- commands-wds.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2