Remove accidental leftover tests.
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 21 Jul 2008 11:43:12 +0000 (13:43 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 21 Jul 2008 11:43:12 +0000 (13:43 +0200)
Thanks to Nicolai Haehnle for pointing this out on IRC.

shared-core/radeon_irq.c

index a766f0e..6956996 100644 (file)
@@ -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;
        }