projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be367b
)
Remove accidental leftover tests.
author
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 21 Jul 2008 11:43:12 +0000
(13:43 +0200)
committer
Michel 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
patch
|
blob
|
history
diff --git
a/shared-core/radeon_irq.c
b/shared-core/radeon_irq.c
index
a766f0e
..
6956996
100644
(file)
--- 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;
}