drm: ->agp_init can't fail
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:34 +0000 (11:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:18:12 +0000 (11:18 +1000)
commit8da79ccd1aaa2efe482b2c555c4684c7b503864a
tree916684aed64742851149eae1e963887e8b998544
parent24986ee06929a8de3a5b4722ccadf0b85c175264
drm: ->agp_init can't fail

Thanks to the removal of REQUIRE_AGP we can use a void return value
and shed a bit of complexity.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h