lkml.org 
[lkml]   [2012]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] sched: Fix spacing issues in coding style
    Date
    Delete redudant spaces between type name and data name or
    operators.

    Signed-off-by: Ying Xue <ying.xue0@gmail.com>
    ---
    kernel/sched/cpupri.c | 10 +++++-----
    1 files changed, 5 insertions(+), 5 deletions(-)

    diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c
    index d72586f..23aa789 100644
    --- a/kernel/sched/cpupri.c
    +++ b/kernel/sched/cpupri.c
    @@ -65,8 +65,8 @@ static int convert_prio(int prio)
    int cpupri_find(struct cpupri *cp, struct task_struct *p,
    struct cpumask *lowest_mask)
    {
    - int idx = 0;
    - int task_pri = convert_prio(p->prio);
    + int idx = 0;
    + int task_pri = convert_prio(p->prio);

    if (task_pri >= MAX_RT_PRIO)
    return 0;
    @@ -137,9 +137,9 @@ int cpupri_find(struct cpupri *cp, struct task_struct *p,
    */
    void cpupri_set(struct cpupri *cp, int cpu, int newpri)
    {
    - int *currpri = &cp->cpu_to_pri[cpu];
    - int oldpri = *currpri;
    - int do_mb = 0;
    + int *currpri = &cp->cpu_to_pri[cpu];
    + int oldpri = *currpri;
    + int do_mb = 0;

    newpri = convert_prio(newpri);

    --
    1.7.1


    \
     
     \ /
      Last update: 2012-07-12 09:21    [W:6.014 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site