lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] cpuidle: menu: tidy up some indenting
    These lines were indented 4 spaces less than they should have been.  It
    was a little confusing.

    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

    diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
    index 1bfe03ceb236..b733dc6aa42b 100644
    --- a/drivers/cpuidle/governors/menu.c
    +++ b/drivers/cpuidle/governors/menu.c
    @@ -426,8 +426,8 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
    * tick, so try to correct that.
    */
    for (i = idx - 1; i >= 0; i--) {
    - if (drv->states[i].disabled ||
    - dev->states_usage[i].disable)
    + if (drv->states[i].disabled ||
    + dev->states_usage[i].disable)
    continue;

    idx = i;
    \
     
     \ /
      Last update: 2018-04-11 10:18    [W:4.324 / U:2.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site