From 7ae093b97ef805a673928b923881b0ca506fee08 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 25 Mar 2011 14:51:30 -0500 Subject: gnss: Minor style fix --- src/gnss.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/gnss.c') diff --git a/src/gnss.c b/src/gnss.c index df5b2b40..b3aa6a66 100644 --- a/src/gnss.c +++ b/src/gnss.c @@ -202,15 +202,10 @@ static void gnss_send_element_cb(const struct ofono_error *error, if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { ofono_error("Sending Positioning Element failed"); - reply = __ofono_error_failed(gnss->pending); + } else + reply = dbus_message_new_method_return(gnss->pending); - goto out; - } - - reply = dbus_message_new_method_return(gnss->pending); - -out: __ofono_dbus_pending_reply(&gnss->pending, reply); } -- cgit v1.2.3