summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-07-21 13:43:12 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-07-21 13:43:12 +0200
commitb5cddbcc1536d70dfa9fec833732b2a715d82e65 (patch)
tree3d7d6fb2034496cc041eda18d1136b0e658d26d1 /shared-core
parent4be367b84b5a6691c28d9419039ea8113ebabc92 (diff)
Remove accidental leftover tests.
Thanks to Nicolai Haehnle for pointing this out on IRC.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_irq.c b/shared-core/radeon_irq.c
index a766f0ed..69569961 100644
--- a/shared-core/radeon_irq.c
+++ b/shared-core/radeon_irq.c
@@ -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;
}