Re: [PATCH 1/5] hdp_util: Fix coding style issues

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

 



He All,

On Fri, Dec 02, 2011 at 11:56:32AM +0100, Santiago Carot-Nemesio wrote:
> ---
>  health/hdp_util.c |  171 +++++++++++++++++++++++++++--------------------------
>  1 files changed, 86 insertions(+), 85 deletions(-)
> 
> diff --git a/health/hdp_util.c b/health/hdp_util.c
> index e62ed46..7a234c1 100644
> --- a/health/hdp_util.c
> +++ b/health/hdp_util.c
> @@ -362,24 +362,24 @@ static gboolean register_service_protocols(struct hdp_adapter *adapter,
>  	/* set l2cap information */
>  	sdp_uuid16_create(&l2cap_uuid, L2CAP_UUID);
>  	l2cap_list = sdp_list_append(NULL, &l2cap_uuid);
> -	if (!l2cap_list) {
> +	if (l2cap_list == NULL) {

Is this a really better way?

Best regards 
Andrei Emeltchenko 
--
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