2014-11-17 21:36:06

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android/hal-handsfree: trivial remove empty line

From: Andrei Emeltchenko <[email protected]>

---
android/hal-handsfree-client.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/android/hal-handsfree-client.c b/android/hal-handsfree-client.c
index a152cab..63a8f1d 100644
--- a/android/hal-handsfree-client.c
+++ b/android/hal-handsfree-client.c
@@ -357,7 +357,6 @@ static bt_status_t init(bthf_client_callbacks_t *callbacks)

ret = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE,
sizeof(cmd), &cmd, NULL, NULL, NULL);
-
if (ret != BT_STATUS_SUCCESS) {
cbs = NULL;
hal_ipc_unregister(HAL_SERVICE_ID_HANDSFREE_CLIENT);
--
2.1.0



2014-11-18 22:19:24

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/hal-handsfree: trivial remove empty line

Hi Andrei,

On Monday 17 of November 2014 23:36:06 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> android/hal-handsfree-client.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/android/hal-handsfree-client.c b/android/hal-handsfree-client.c
> index a152cab..63a8f1d 100644
> --- a/android/hal-handsfree-client.c
> +++ b/android/hal-handsfree-client.c
> @@ -357,7 +357,6 @@ static bt_status_t init(bthf_client_callbacks_t
> *callbacks)
>
> ret = hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_OP_REGISTER_MODULE,
> sizeof(cmd), &cmd, NULL, NULL, NULL);
> -
> if (ret != BT_STATUS_SUCCESS) {
> cbs = NULL;
> hal_ipc_unregister(HAL_SERVICE_ID_HANDSFREE_CLIENT);

Applied, thanks.

--
BR
Szymon Janc