drm/etnaviv: change return type of etnaviv_gem_obj_add to void
authorLucas Stach <l.stach@pengutronix.de>
Fri, 17 Nov 2017 11:17:14 +0000 (12:17 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 2 Jan 2018 16:07:41 +0000 (17:07 +0100)
commit54f09288f912058bdf23c4946204729ee288f444
treec916ebff2d95eec16027eb37c873edf71c3e7e9e
parentcdd325632d4b1723d5e3bbe7c20f030fbac304ae
drm/etnaviv: change return type of etnaviv_gem_obj_add to void

This function never fails, as it does nothing more than adding the GEM
object to the global device list. Making this explicit through the void
return type allows to drop some unnecessary error handling.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem.c
drivers/gpu/drm/etnaviv/etnaviv_gem.h
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c