Re: [PATCH] sched/fair: fix -Wunused-but-set-variable warnings

2019-09-18 Thread Dave Chiluk
de53fd7aedb1 has just been merged into Linus' mainline tree for eventual inclusion in 5.4. This should be pushed into there, and not wait till 5.5. Both I and Ben Segall have already +1'd this in previous threads. Sorry for introducing the warnings. Dave. On Wed, Sep 18, 2019 at 2:02 PM Qian C

[PATCH] sched/fair: fix -Wunused-but-set-variable warnings

2019-09-18 Thread Qian Cai
The commit de53fd7aedb1 ("sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices") introduced a few compilation warnings: kernel/sched/fair.c: In function '__refill_cfs_bandwidth_runtime': kernel/sched/fair.c:4365:6: warning: variable 'now' set but not us