From: Felix Fietkau Date: Sun, 17 Feb 2013 14:09:25 +0000 (+0100) Subject: use printf instead of fprintf for pin status verification, remove an unused variable X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7933948e65924b827924e09542aa8ccc1cffeec4;p=oweals%2Fuqmi.git use printf instead of fprintf for pin status verification, remove an unused variable --- diff --git a/commands-dms.c b/commands-dms.c index 4e049b1..d9f23c1 100644 --- a/commands-dms.c +++ b/commands-dms.c @@ -52,10 +52,8 @@ cmd_dms_get_pin_status_prepare(struct qmi_dev *qmi, struct qmi_request *req, str static void cmd_dms_verify_pin1_cb(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg) { - struct qmi_dms_uim_verify_pin_response res; - if (!msg) { - fprintf(stderr, "failed\n"); + printf("failed\n"); return; }