projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f598a6e
)
[media] media-entity.h: remove redundant macro definition for gobj_to_pad()
author
Liu Ying
<gnuiyl@gmail.com>
Thu, 11 Aug 2016 05:10:11 +0000
(
02:10
-0300)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Wed, 24 Aug 2016 19:43:49 +0000
(16:43 -0300)
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>
include/media/media-entity.h
patch
|
blob
|
blame
|
history
diff --git
a/include/media/media-entity.h
b/include/media/media-entity.h
index fa874ad4870eb5c2ae739d779cb312df9f6fb5c4..7bf6885dd37f2903df70cca3d92becdead2acbc9 100644
(file)
--- 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)