projects
/
GitHub
/
moto-9609
/
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:
d259a5e
)
[media] media-entity.h: remove redundant macro definition for gobj_to_link()
author
Liu Ying
<gnuiyl@gmail.com>
Thu, 11 Aug 2016 05:10:10 +0000
(
02:10
-0300)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Wed, 24 Aug 2016 19:28:32 +0000
(16:28 -0300)
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>
include/media/media-entity.h
patch
|
blob
|
blame
|
history
diff --git
a/include/media/media-entity.h
b/include/media/media-entity.h
index 09b03c17784dbdb2d31c4468dcb9962368e664f0..afd61713ea3b26cdbeb700e50a81faa960c45e1f 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_link(gobj) \
- container_of(gobj, struct media_link, graph_obj)
-
#define gobj_to_pad(gobj) \
container_of(gobj, struct media_pad, graph_obj)