commit | c52837238038f61b6511eadee94fcab622d635f0 | [log] [tgz] |
---|---|---|
author | Lucas Stach <l.stach@pengutronix.de> | Fri Nov 24 10:43:07 2017 +0100 |
committer | Lucas Stach <l.stach@pengutronix.de> | Tue Jan 02 17:26:59 2018 +0100 |
tree | e397a964ff50688f22549599ec3385a9444be57b | |
parent | b6d6223f5029d3c4fe466ce1711fe4cb23d06013 [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>