]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd07cf8c5a30a43fb8cef0282c378f7a59d517387
treeff62a64df4acd43227abc0bdf31a4c0a519b4671
parent7879fbffd22a71b3d3ca36827b7157c3a86ce647
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