use printf instead of fprintf for pin status verification, remove an unused variable
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Feb 2013 14:09:25 +0000 (15:09 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Feb 2013 14:09:25 +0000 (15:09 +0100)
commands-dms.c

index 4e049b143a49b94830ee786e8613148d362f1db5..d9f23c1713bc41b0baea25ba28916a576f89691d 100644 (file)
@@ -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;
        }