[PATCH 05/27] drm/etnaviv: change return type of etnaviv_gem_obj_add to void

Philipp Zabel p.zabel at pengutronix.de
Fri Dec 1 11:34:30 UTC 2017


On Fri, 2017-12-01 at 11:36 +0100, Lucas Stach wrote:
> 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 at pengutronix.de>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the dri-devel mailing list