summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-11-24 10:43:07 +0100
committerLucas Stach <l.stach@pengutronix.de>2018-01-02 17:26:59 +0100
commitc52837238038f61b6511eadee94fcab622d635f0 (patch)
treee397a964ff50688f22549599ec3385a9444be57b /drivers/gpu/drm/tilcdc
parentb6d6223f5029d3c4fe466ce1711fe4cb23d06013 (diff)
drm/etnaviv: simplify submit_create
Use kzalloc so other code doesn't need to worry about uninitialized members. Drop the non-standard GFP flags, as we really don't want to fail the submit when under slight memory pressure. Remove one level of indentation by using an early return if the allocation failed. Also remove the unused drm device member. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
0 files changed, 0 insertions, 0 deletions