Re: [PATCH v2] staging: rtl8712: fix unnecessary elses after return/break in rtl8712_efuse.c

From: Serguey Parkhomovsky
Date: Wed Oct 08 2014 - 15:44:12 EST


>
> This sort of test is generally better where the
> individual tests are written on separate lines like:
>
> if ((data[idx] != pktdata[i]) ||
> (data[idx+1] != pktdata[i+1])) {
>

Thanks for all the suggestions, Joe. I'll upload a revised patch soon.

Serguey
--
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/