Re: [PATCH V5] PM/OPP: discard duplicate OPPs

From: Viresh Kumar
Date: Wed May 21 2014 - 00:03:49 EST


On 21 May 2014 02:39, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
>> + /* Duplicate OPPs ? */
>> + if (new_opp->rate == opp->rate) {
>> + int ret = (new_opp->u_volt == opp->u_volt) && opp->available ?
>> + 0 : -EEXIST;
>
> The parens are not necessary. And is the direction correct?

What do you mean by direction here ?
--
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/