Commit 6a01df2
committed
drm/i915: Remove pointless visible check in unlink_nv12_plane()
visible can't be true when is_y_plane is true. Replace the
bogus check with an WARN_ON(). Flatten the function while
at it.
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250212164330.16891-7-ville.syrjala@linux.intel.com1 parent a33a6b2 commit 6a01df2
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4408 | 4408 | | |
4409 | 4409 | | |
4410 | 4410 | | |
| 4411 | + | |
4411 | 4412 | | |
4412 | 4413 | | |
4413 | 4414 | | |
4414 | 4415 | | |
4415 | | - | |
4416 | | - | |
4417 | | - | |
4418 | | - | |
4419 | | - | |
4420 | | - | |
4421 | | - | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
4422 | 4420 | | |
4423 | 4421 | | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
| 4425 | + | |
| 4426 | + | |
| 4427 | + | |
4424 | 4428 | | |
4425 | 4429 | | |
4426 | 4430 | | |
| |||
0 commit comments