drm/exynos: remove duplicated error routine and unnecessary assign
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 3 Jul 2013 08:09:21 +0000 (17:09 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Jul 2013 06:55:37 +0000 (15:55 +0900)
commit4bb615c5fbb4f3ea0f197dfe4fb07a9e4ec2a755
treea860ecdfcd14058bd2a22b62b0dd86c9db1c0ee5
parent42ac99a72041a3515bd2b205adb9a239b49c6741
drm/exynos: remove duplicated error routine and unnecessary assign

There were duplicated error handling routines during allocating
pages in lowlevel_buffer_allocate() and g2d_userptr_get_dma_addr().
Also unnecessary NULL assignments for variable used not any more
are removed from g2d_userptr_get_dma_addr() and
g2d_userptr_put_dma_addr().

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c
drivers/gpu/drm/exynos/exynos_drm_g2d.c