summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMichał Grzelak <michal.grzelak@intel.com>2026-05-09 19:40:46 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2026-05-21 02:55:15 +0300
commitfadb1ef10db1bccf3bd402734dd97e6344192c0b (patch)
tree8826d09ca637f26307bd8059ed13514b12e1c078 /include/linux/timerqueue.h
parentb8ccfbc01d71eb794829ebdb7a3b1f203b7865b3 (diff)
downloadlinux-fadb1ef10db1bccf3bd402734dd97e6344192c0b.tar.xz
drm/i915/scaler: unloop scaler readout that is run once
Most of the loop's code is run once because of the continue statement at it's start and break statement at it's end. Kick it out of the loop. While at it, skl_scaler_get_config()'s loop is skipped when specified condition is met and broken when the condition is not met. Equivalently, invert the condition and break the loop. Changelog: v2->v3 - keep ctl inside the loop (Ville) Cc: Nemesa Garg <nemesa.garg@intel.com> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Michał Grzelak <michal.grzelak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20260509164048.627399-8-michal.grzelak@intel.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions