drm/etnaviv: clean up etnaviv_gem_new_handle
authorLucas Stach <l.stach@pengutronix.de>
Tue, 19 Feb 2019 13:10:51 +0000 (14:10 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 17 Apr 2019 14:25:30 +0000 (16:25 +0200)
commitfd2450a77d3360ac3d54c84e0aa0672f4d8ad4b2
treeda10802a9938664b38a2cdc3ba037c836563dfb0
parent1262cc8893ecb0eb2c21e042d0d268cc180edb61
drm/etnaviv: clean up etnaviv_gem_new_handle

Setting the GFP flags does not need a new code block if moved to
the right location, which makes this function a bit easier to read.

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