All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] voicecall: remove unnecessary local var
@ 2011-05-24  7:56 =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
  2011-05-24 16:48 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau @ 2011-05-24  7:56 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

---
 src/voicecall.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/voicecall.c b/src/voicecall.c
index 0273ed6..94a20a9 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,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] voicecall: remove unnecessary local var
  2011-05-24  7:56 [PATCH] voicecall: remove unnecessary local var =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
@ 2011-05-24 16:48 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-05-24 16:48 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

Hi Frédéric,

On 05/24/2011 02:56 AM, Frédéric Dalleau wrote:
> ---
>  src/voicecall.c |    6 +-----
>  1 files changed, 1 insertions(+), 5 deletions(-)
> 

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-24 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24  7:56 [PATCH] voicecall: remove unnecessary local var =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
2011-05-24 16:48 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.