voicecall: remove unnecessary local var
PATCH 1/1 voicecall: remove unnecessary local var
--- src/voicecall.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
src/voicecall.c +1 -5
@@ -2606,12 +2606,8 @@ static void sim_watch(struct ofono_atom *atom,static void emulator_generic_cb (const struct ofono_error *error,void *data) {struct ofono_emulator *em = data; -struct ofono_error result; - - result.error = error->error; - result.type = error->type; -ofono_emulator_send_final (em, &result); +ofono_emulator_send_final (em, error); } static void emulator_ata_cb(struct ofono_emulator *em,
Signature · 1 line
1.7.1
Hi Frédéric,
Quoted 4 lines · Frédéric Dalleau
--- src/voicecall.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
Patch has been applied, thanks.
Regards,
-Denis