From: Liu Ying <gnuiyl@gmail.com>
To: <linux-media@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: [PATCH 3/3] [media] media-entity.h: remove redundant macro definition for gobj_to_pad()
Date: Thu, 11 Aug 2016 13:10:11 +0800 [thread overview]
Message-ID: <1470892211-31387-3-git-send-email-gnuiyl@gmail.com> (raw)
In-Reply-To: <1470892211-31387-1-git-send-email-gnuiyl@gmail.com>
The macro gobj_to_pad() is defined twice in media-entity.h.
Let's remove one.
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
---
include/media/media-entity.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index fa874ad..7bf6885 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)
--
2.7.4
prev parent reply other threads:[~2016-08-11 6:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 5:10 [PATCH 1/3] [media] media-entity.h: Correct KernelDoc of media_entity_enum_empty() Liu Ying
2016-08-11 5:10 ` [PATCH 2/3] [media] media-entity.h: remove redundant macro definition for gobj_to_link() Liu Ying
2016-08-11 5:10 ` Liu Ying [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470892211-31387-3-git-send-email-gnuiyl@gmail.com \
--to=gnuiyl@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox