diff options
| author | Jonathan Cavitt <jonathan.cavitt@intel.com> | 2026-01-23 20:09:15 +0300 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2026-01-29 03:01:08 +0300 |
| commit | 671e1cfe5b23384245be5ec094e92906ca585fce (patch) | |
| tree | 02bb5b571493eac087ad3c45c1b3b73a8654f554 /include | |
| parent | b3a2a91ae9b48c74e50833242af7d73f8a0ec3a6 (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
