Re: [PATCH] sched: Fix a GCC compiled warning.

2018-09-14 Thread zhong jiang
On 2018/9/15 0:43, Miguel Ojeda wrote: > Hi Zhong, > > On Fri, Sep 14, 2018 at 4:49 PM, zhong jiang wrote: >> Fix the following compile warning: >> >> kernel/sched/core.c: In function ‘update_rq_clock_task’: >> kernel/sched/core.c:139:6: warning: unused variable ‘steal’ >> [-Wunused-variable] >>

Re: [PATCH] sched: Fix a GCC compiled warning.

2018-09-14 Thread Miguel Ojeda
Hi Zhong, On Fri, Sep 14, 2018 at 4:49 PM, zhong jiang wrote: > Fix the following compile warning: > > kernel/sched/core.c: In function ‘update_rq_clock_task’: > kernel/sched/core.c:139:6: warning: unused variable ‘steal’ > [-Wunused-variable] > s64 steal = 0, irq_delta = 0; > Dou (and I, wit

[PATCH] sched: Fix a GCC compiled warning.

2018-09-14 Thread zhong jiang
Fix the following compile warning: kernel/sched/core.c: In function ‘update_rq_clock_task’: kernel/sched/core.c:139:6: warning: unused variable ‘steal’ [-Wunused-variable] s64 steal = 0, irq_delta = 0; Signed-off-by: zhong jiang --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+),