Commit cdf58a6f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] exynos4-is/media-dev: get rid of a warning for a dead code

drivers/media/platform/exynos4-is/media-dev.c: In function 'fimc_md_link_notify':
drivers/media/platform/exynos4-is/media-dev.c:1102:4: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
    ; /* TODO: Link state change validation */
    ^
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 84ddba45
...@@ -1098,8 +1098,10 @@ static int fimc_md_link_notify(struct media_link *link, unsigned int flags, ...@@ -1098,8 +1098,10 @@ static int fimc_md_link_notify(struct media_link *link, unsigned int flags,
if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH) { if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH) {
if (!(flags & MEDIA_LNK_FL_ENABLED)) if (!(flags & MEDIA_LNK_FL_ENABLED))
ret = __fimc_md_modify_pipelines(sink, false); ret = __fimc_md_modify_pipelines(sink, false);
#if 0
else else
; /* TODO: Link state change validation */ /* TODO: Link state change validation */
#endif
/* After link activation */ /* After link activation */
} else if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && } else if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH &&
(link->flags & MEDIA_LNK_FL_ENABLED)) { (link->flags & MEDIA_LNK_FL_ENABLED)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment