lkml.org 
[lkml]   [2014]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 8/8] sched,idle: Reflow cpuidle_idle_call()
On Sun, Apr 13, 2014 at 05:36:46PM -0400, Nicolas Pitre wrote:
> > @@ -102,90 +102,64 @@ static int cpuidle_idle_call(void)
> > * Check if the cpuidle framework is ready, otherwise fallback
> > * to the default arch specific idle method
> > */
> > - ret = cpuidle_enabled(drv, dev);
> > + if (cpuidle_enabled(drv, dev))
> > + goto use_default;
>
> Why not using braces here and moving the use_default code block inside
> it instead?

I didn't because there's two goto use_default sites, but sure, I can do
that.


\
 
 \ /
  Last update: 2014-04-14 11:21    [W:0.218 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site