diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2013-07-01 13:03:39 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-07-04 15:55:36 +0900 |
commit | cbb28bb09d41872909fdbd4ba56eb1ba55146c03 (patch) | |
tree | 3b652d926ce8776d2d6b6b6f208a11e1ec0b3e4f /drivers/gpu/drm/exynos | |
parent | c58c1599cd5c97977c44047272b56b4db455bbba (diff) | |
download | op-kernel-dev-cbb28bb09d41872909fdbd4ba56eb1ba55146c03.zip op-kernel-dev-cbb28bb09d41872909fdbd4ba56eb1ba55146c03.tar.gz |
drm/exynos: remove dead code in vidi_power_on
The type of input parameter enable is bool, so it does not need
to check whether true or false.
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>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 784bbce..41cc74d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -413,9 +413,6 @@ static int vidi_power_on(struct vidi_context *ctx, bool enable) struct exynos_drm_subdrv *subdrv = &ctx->subdrv; struct device *dev = subdrv->dev; - if (enable != false && enable != true) - return -EINVAL; - if (enable) { ctx->suspended = false; |