Re: [PATCH] Staging: rtl8712 removed unnecessary else after return

From: Nitin Kuppelur
Date: Thu Oct 02 2014 - 03:39:53 EST


>
> Perhaps a more common style is to use:
>
> if (!padapter->halpriv.hal_bus_init ||
> padapter->halpriv.hal_bus_init(padapter) != _SUCCESS)
> return _FAIL;
>
>
Agreed. I will send updated patch.

Regards,
Nitin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/