fix tautological check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 09:39:55 +0000 (11:39 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 2 Oct 2014 09:39:55 +0000 (11:39 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
commands-wds.c

index ce7d71561807f80e77075b60ea82c7b2cd47067e..a1804cf51437fac3356cae47547e75bdb8fb466e 100644 (file)
@@ -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;