mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
drm/vblank: remove superfluous pipe check
Now that the pipe is crtc->pipe, there's no need to check it's within range. Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/ced963542bfb00c2f1a653e9e5f717fccbd25132.1765290097.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
128d6e6255
commit
04f0aa5d69
1 changed files with 0 additions and 3 deletions
|
|
@ -1302,9 +1302,6 @@ void drm_crtc_wait_one_vblank(struct drm_crtc *crtc)
|
|||
int ret;
|
||||
u64 last;
|
||||
|
||||
if (drm_WARN_ON(dev, pipe >= dev->num_crtcs))
|
||||
return;
|
||||
|
||||
ret = drm_vblank_get(dev, pipe);
|
||||
if (drm_WARN(dev, ret, "vblank not available on crtc %i, ret=%i\n",
|
||||
pipe, ret))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue