diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-03-25 14:51:30 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-28 18:06:58 -0500 |
commit | 7ae093b97ef805a673928b923881b0ca506fee08 (patch) | |
tree | 31bc7a0f4a9d0983bca795e741be87fc37f306e5 /src/gnss.c | |
parent | 62d4037c38f065463132b0d780781504995edc69 (diff) | |
download | ofono-7ae093b97ef805a673928b923881b0ca506fee08.tar.bz2 |
gnss: Minor style fix
Diffstat (limited to 'src/gnss.c')
-rw-r--r-- | src/gnss.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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); } |