drm/tegra: gem: Cleanup tegra_bo_create_with_handle()
authorThierry Reding <treding@nvidia.com>
Thu, 16 Oct 2014 12:22:50 +0000 (14:22 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:14:47 +0000 (16:14 +0100)
commita8b48df5925fad5ba9ebc49c80ef60774cc97628
treeff62a64df4acd43227abc0bdf31a4c0a519b4671
parentc28d4a317fef0401be180b34f48d193ff2a6787b
drm/tegra: gem: Cleanup tegra_bo_create_with_handle()

There is only a single location where the function needs to do cleanup.
Skip the error unwinding path and call the cleanup function directly
instead.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c