drm/exynos: remove superfluous checks in g2d_check_reg_offset()
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Mon, 17 Aug 2015 22:51:23 +0000 (00:51 +0200)
committerInki Dae <daeinki@gmail.com>
Wed, 2 Sep 2015 14:10:29 +0000 (23:10 +0900)
commit7de5c36c2aa9fc7ae1443d144f895ffd044c6b36
tree44aa75a8dc5f14ff9c9cf25bfa274b01132e7d7e
parent179239a7ae805f7695167c62a97eac3efe52d7af
drm/exynos: remove superfluous checks in g2d_check_reg_offset()

The cases of the switch statement ensure that reg_type
can never be REG_TYPE_NONE here.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c