Commit 6a21b728 authored by Liu Ying's avatar Liu Ying Committed by Mauro Carvalho Chehab

[media] media-entity.h: remove redundant macro definition for gobj_to_pad()

The macro gobj_to_pad() is defined twice in media-entity.h.
Let's remove one.
Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent f598a6e3
...@@ -520,9 +520,6 @@ static inline bool media_entity_enum_intersects( ...@@ -520,9 +520,6 @@ static inline bool media_entity_enum_intersects(
#define gobj_to_link(gobj) \ #define gobj_to_link(gobj) \
container_of(gobj, struct media_link, graph_obj) container_of(gobj, struct media_link, graph_obj)
#define gobj_to_pad(gobj) \
container_of(gobj, struct media_pad, graph_obj)
#define gobj_to_intf(gobj) \ #define gobj_to_intf(gobj) \
container_of(gobj, struct media_interface, graph_obj) container_of(gobj, struct media_interface, graph_obj)
......
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