diff options
| author | Peng Hao <[email protected]> | 2018-10-09 11:43:35 -0400 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-10-10 11:47:20 +0200 |
| commit | d59e0ba19481c0046d2ea2bd0e5344eeaf45aace (patch) | |
| tree | 98351cd32bc4160eff3da32503e57cddb67c09eb /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | 2f6affe35c1d79e3524a6475ea2267535a252258 (diff) | |
tick/sched : Remove redundant cpu_online() check
can_stop_idle_tick() checks cpu_online() twice. The first check leaves the
function when the CPU is not online, so the second check it
redundant. Remove it.
Signed-off-by: Peng Hao <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions