projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58c159
)
drm/exynos: remove dead code in vidi_power_on
author
YoungJun Cho
<yj44.cho@samsung.com>
Mon, 1 Jul 2013 04:03:39 +0000
(13:03 +0900)
committer
Inki Dae
<inki.dae@samsung.com>
Thu, 4 Jul 2013 06:55:36 +0000
(15:55 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_vidi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_vidi.c
b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
index
784bbce
..
41cc74d
100644
(file)
--- 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;