From: Anton Leontiev <scileont@gmail.com>
To: linux-media@vger.kernel.org
Cc: Jacob chen <jacob2.chen@rock-chips.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Subject: [PATCH 6/6] [media] rga: Remove surplus name initialization
Date: Tue, 12 Jun 2018 13:11:06 +0300 [thread overview]
Message-ID: <20180612101106.16346-6-scileont@gmail.com> (raw)
In-Reply-To: <20180612101106.16346-1-scileont@gmail.com>
Name is already initialized by assignment from rga_videodev.
Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
drivers/media/platform/rockchip/rga/rga.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c
index d508a8ba6f89..e8dffca669a1 100644
--- a/drivers/media/platform/rockchip/rga/rga.c
+++ b/drivers/media/platform/rockchip/rga/rga.c
@@ -882,7 +882,6 @@ static int rga_probe(struct platform_device *pdev)
vfd->v4l2_dev = &rga->v4l2_dev;
video_set_drvdata(vfd, rga);
- snprintf(vfd->name, sizeof(vfd->name), "%s", rga_videodev.name);
rga->vfd = vfd;
platform_set_drvdata(pdev, rga);
--
2.17.1
prev parent reply other threads:[~2018-06-12 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 10:11 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 3/6] [media] s5p-g2d: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 4/6] [media] mx2: " Anton Leontiev
2018-06-12 10:11 ` [PATCH 5/6] [media] m2m-deinterlace: " Anton Leontiev
2018-06-12 10:11 ` Anton Leontiev [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=20180612101106.16346-6-scileont@gmail.com \
--to=scileont@gmail.com \
--cc=heiko@sntech.de \
--cc=jacob2.chen@rock-chips.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