Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/gma500: Remove dead code

This has the nice advantage that we'll get rid of a DRM_WAIT_ON user
for free.

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Daniel Vetter and committed by
Dave Airlie
b8673b64 4cda878b

-15
-15
drivers/gpu/drm/gma500/psb_irq.c
··· 450 450 return 0; 451 451 } 452 452 453 - #ifdef PSB_FIXME 454 - static int psb_vblank_do_wait(struct drm_device *dev, 455 - unsigned int *sequence, atomic_t *counter) 456 - { 457 - unsigned int cur_vblank; 458 - int ret = 0; 459 - DRM_WAIT_ON(ret, dev->vblank.queue, 3 * HZ, 460 - (((cur_vblank = atomic_read(counter)) 461 - - *sequence) <= (1 << 23))); 462 - *sequence = cur_vblank; 463 - 464 - return ret; 465 - } 466 - #endif 467 - 468 453 /* 469 454 * It is used to enable VBLANK interrupt 470 455 */