mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 21:48:33 +02:00
Remove accidental leftover tests.
Thanks to Nicolai Haehnle for pointing this out on IRC.
This commit is contained in:
parent
4be367b84b
commit
b5cddbcc15
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ u32 radeon_get_vblank_counter(struct drm_device *dev, int crtc)
|
|||
{
|
||||
drm_radeon_private_t *dev_priv = dev->dev_private;
|
||||
|
||||
if (!dev_priv || crtc < 0 || crtc > 1) {
|
||||
if (!dev_priv) {
|
||||
DRM_ERROR("called with no initialization\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue