Hi,

On Wed, 2012-01-25 at 14:16 +0200, Alok Barsode wrote:
> +       if (g_slist_length(techless_device_list) == 0)
> +               return 0;

Another nitpick, just do:
if (techless_device_list == NULL)
        return 0;
This avoids walking over the whole list and counting items when you are
only interested in whether there are any items at all.

Cheers,

        Patrik


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to