lkml.org 
[lkml]   [2014]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V5] PM/OPP: discard duplicate OPPs
From
On 21 May 2014 02:39, Rafael J. Wysocki <rjw@rjwysocki.net> 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 ?


\
 
 \ /
  Last update: 2014-05-21 06:42    [W:0.065 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site