summaryrefslogtreecommitdiff
path: root/include/rxrpc
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-28 15:02:37 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-04-22 11:41:09 +0200
commit4984979b9b9025a1cb9a9bea089d31a3e01ccff1 (patch)
tree040c85360f270b035e2cc913a3edc6d4599594f8 /include/rxrpc
parenta798c10faf62a505d24e5f6213fbaf904a39623f (diff)
downloadlinux-rt-4984979b9b9025a1cb9a9bea089d31a3e01ccff1.tar.gz
drm/irq: simplify irq checks in drm_wait_vblank
Checking for both an irq number _and_ whether it's enabled is redundant. Originally I've thought the drm_dev_to_irq call would break drivers which do their own irq checking, but those shouldn't have DRIVER_HAVE_IRQ set as Thierry Reding pointed out. But such drivers already need to set dev->irq_enabled for other reasons, so we might as well ditch that check, too. v2: Also drop the HAVE_IRQ check. Cc: Thierry Reding <thierry.reding@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions