From 7933948e65924b827924e09542aa8ccc1cffeec4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 17 Feb 2013 15:09:25 +0100 Subject: [PATCH] use printf instead of fprintf for pin status verification, remove an unused variable --- commands-dms.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 2.30.2