diff options
author | Frédéric Dalleau <frederic.dalleau@linux.intel.com> | 2011-05-24 09:56:57 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 11:47:47 -0500 |
commit | 871dd70833a61132752f9847db5407a66a9b5b74 (patch) | |
tree | dc762f9cbd6ece9e4dde67d83c4addfe77b056af /src/voicecall.c | |
parent | be7cce9cb316327eaca222e8ef92f97b003ad896 (diff) | |
download | ofono-871dd70833a61132752f9847db5407a66a9b5b74.tar.bz2 |
voicecall: remove unnecessary local var
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 0273ed69..94a20a93 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -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, |