提交 bb5147aa 编写于 作者: L Liu Ying 提交者: Mauro Carvalho Chehab

[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: NLiu Ying <gnuiyl@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 d259a5ee
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册