Re: [PATCH v2 01/10] emulator: Minor style fix

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

 



Hi Lukasz,

On Mon, Mar 10, 2014, Lukasz Rymanowski wrote:
> ---
>  emulator/btdev.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/emulator/btdev.c b/emulator/btdev.c
> index b54f91e..2cf8f89 100644
> --- a/emulator/btdev.c
> +++ b/emulator/btdev.c
> @@ -709,8 +709,8 @@ static void inquiry_complete(struct btdev *btdev, uint8_t status)
>  			ir.rssi = -60;
>  			memcpy(ir.data, btdev_list[i]->ext_inquiry_rsp, 240);
>  
> -			send_event(btdev, BT_HCI_EVT_EXT_INQUIRY_RESULT,
> -							&ir, sizeof(ir));
> +			send_event(btdev, BT_HCI_EVT_EXT_INQUIRY_RESULT, &ir,
> +								sizeof(ir));
>  			continue;
>  		}
>  
> @@ -738,8 +738,8 @@ static void inquiry_complete(struct btdev *btdev, uint8_t status)
>  			memcpy(ir.dev_class, btdev_list[i]->dev_class, 3);
>  			ir.clock_offset = 0x0000;
>  
> -			send_event(btdev, BT_HCI_EVT_INQUIRY_RESULT,
> -							&ir, sizeof(ir));
> +			send_event(btdev, BT_HCI_EVT_INQUIRY_RESULT, &ir,
> +								sizeof(ir));
>  		}
>          }

I wouldn't bother with this one. The reason these two variables have
been put on the same line is that they are tightly related to each
other.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux