summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-08-11 02:10:11 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 16:43:49 -0300
commit6a21b728732390deb75536dd9253d958ca9223d0 (patch)
tree0f6fcbef82b734c1f92baa191d02f6d259177043 /include/media
parentf598a6e362bb287a50085ffe0c3c8506127919f9 (diff)
downloadlinux-6a21b728732390deb75536dd9253d958ca9223d0.tar.bz2
[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: Liu Ying <gnuiyl@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-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 fa874ad4870e..7bf6885dd37f 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_pad(gobj) \
- container_of(gobj, struct media_pad, graph_obj)
-
#define gobj_to_intf(gobj) \
container_of(gobj, struct media_interface, graph_obj)