mirror of git://git.sysmocom.de/ofono
gnss: Minor style fix
This commit is contained in:
parent
62d4037c38
commit
7ae093b97e
|
@ -202,15 +202,10 @@ static void gnss_send_element_cb(const struct ofono_error *error,
|
||||||
|
|
||||||
if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
|
if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
|
||||||
ofono_error("Sending Positioning Element failed");
|
ofono_error("Sending Positioning Element failed");
|
||||||
|
|
||||||
reply = __ofono_error_failed(gnss->pending);
|
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);
|
__ofono_dbus_pending_reply(&gnss->pending, reply);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue