summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorJonathan Cavitt <jonathan.cavitt@intel.com>2026-01-23 20:09:15 +0300
committerMatt Roper <matthew.d.roper@intel.com>2026-01-29 03:01:08 +0300
commit671e1cfe5b23384245be5ec094e92906ca585fce (patch)
tree02bb5b571493eac087ad3c45c1b3b73a8654f554 /include/linux/stacktrace.h
parentb3a2a91ae9b48c74e50833242af7d73f8a0ec3a6 (diff)
downloadlinux-671e1cfe5b23384245be5ec094e92906ca585fce.tar.xz
drm/i915/display: vcpi is always greater than zero
Static analysis issue: intel_conn_to_vcpi currently checks and asserts vcpi >= 0, as grabbed from payload->vcpi. But payload->vcpi is a u8, so this is always true. Remove this unnecessary check. While we're here, the jump statements in this function are largely defunct now, so remove those as well. Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patch.msgid.link/20260123170914.64548-2-jonathan.cavitt@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions