[RFC 01/24] bluetooth: Remove unnecessary braces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jo?o Paulo,

On Wed, Mar 27, 2013 at 6:16 AM,  <jprvita at gmail.com> wrote:
> From: Jo?o Paulo Rechi Vita <jprvita at openbossa.org>
>
> ---
>  src/modules/bluetooth/bluetooth-util.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
> index 66fd6fe..6dc18e2 100644
> --- a/src/modules/bluetooth/bluetooth-util.c
> +++ b/src/modules/bluetooth/bluetooth-util.c
> @@ -2096,11 +2096,11 @@ static DBusHandlerResult endpoint_handler(DBusConnection *c, DBusMessage *m, voi
>                                   DBUS_TYPE_STRING, &xml,
>                                   DBUS_TYPE_INVALID));
>
> -    } else if (dbus_message_is_method_call(m, interface, "SetConfiguration")) {
> +    } else if (dbus_message_is_method_call(m, interface, "SetConfiguration"))
>          r = endpoint_set_configuration(c, m, userdata);
> -    } else if (dbus_message_is_method_call(m, interface, "SelectConfiguration")) {
> +    else if (dbus_message_is_method_call(m, interface, "SelectConfiguration"))
>          r = endpoint_select_configuration(c, m, userdata);
> -    } else if (dbus_message_is_method_call(m, interface, "ClearConfiguration"))
> +    else if (dbus_message_is_method_call(m, interface, "ClearConfiguration"))
>          r = endpoint_clear_configuration(c, m, userdata);
>      else
>          return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
> --
> 1.7.11.7
>

I suggest you submit this patch for master, since it's trivial and it
doesn't apply cleanly. Once it gets merged, along with other similar
trivial patches, I'll take care of rebasing my BlueZ 5 patchset.

Cheers,
Mikel


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux