speedup: No need to parse error
[platform/upstream/ofono.git] / drivers / speedupmodem / ussd.c
index 29be577..c27a7ff 100644 (file)
@@ -122,8 +122,6 @@ static void cusd_cancel_cb(gboolean ok, GAtResult *result, gpointer user_data)
        ofono_ussd_cb_t cb = cbd->cb;
        struct ofono_error error;
 
-       decode_at_error(&error, g_at_result_final_response(result));
-
        /*
         * All errors and notifications arrive unexpected and
         * thus just reset the state here. This is safer than