summaryrefslogtreecommitdiffstats
path: root/include/media/media-entity.h
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-08-11 07:10:10 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 21:28:32 +0200
commitbb5147aa42777efe8fec262eab579cfba4500133 (patch)
tree94bc1a3ef735520c00269b6b62da13ff8c54e8ff /include/media/media-entity.h
parent[media] drxd_hard: Add missing error code assignment before test (diff)
downloadlinux-bb5147aa42777efe8fec262eab579cfba4500133.tar.xz
linux-bb5147aa42777efe8fec262eab579cfba4500133.zip
[media] media-entity.h: remove redundant macro definition for gobj_to_link()
The macro gobj_to_link() is defined twice in media-entity.h. Let's remove one. Signed-off-by: Liu Ying <gnuiyl@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/media-entity.h')
-rw-r--r--include/media/media-entity.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 09b03c17784d..afd61713ea3b 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -520,9 +520,6 @@ static inline bool media_entity_enum_intersects(
#define gobj_to_link(gobj) \
container_of(gobj, struct media_link, graph_obj)
-#define gobj_to_link(gobj) \
- container_of(gobj, struct media_link, graph_obj)
-
#define gobj_to_pad(gobj) \
container_of(gobj, struct media_pad, graph_obj)