public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Leontiev <scileont@gmail.com>
To: linux-media@vger.kernel.org
Cc: Kyungmin Park <kyungmin.park@samsung.com>,
	Kamil Debski <kamil@wypas.org>,
	Andrzej Hajda <a.hajda@samsung.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: [PATCH 3/6] [media] s5p-g2d: Remove surplus name initialization
Date: Tue, 12 Jun 2018 13:11:03 +0300	[thread overview]
Message-ID: <20180612101106.16346-3-scileont@gmail.com> (raw)
In-Reply-To: <20180612101106.16346-1-scileont@gmail.com>

Name is already initialized by assignment from g2d_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
---
 drivers/media/platform/s5p-g2d/g2d.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c
index 66aa8cf1d048..3735c204e9ac 100644
--- a/drivers/media/platform/s5p-g2d/g2d.c
+++ b/drivers/media/platform/s5p-g2d/g2d.c
@@ -702,7 +702,6 @@ static int g2d_probe(struct platform_device *pdev)
 		goto rel_vdev;
 	}
 	video_set_drvdata(vfd, dev);
-	snprintf(vfd->name, sizeof(vfd->name), "%s", g2d_videodev.name);
 	dev->vfd = vfd;
 	v4l2_info(&dev->v4l2_dev, "device registered as /dev/video%d\n",
 								vfd->num);
-- 
2.17.1

  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 ` Anton Leontiev [this message]
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 ` [PATCH 6/6] [media] rga: " Anton Leontiev

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-3-scileont@gmail.com \
    --to=scileont@gmail.com \
    --cc=a.hajda@samsung.com \
    --cc=kamil@wypas.org \
    --cc=kyungmin.park@samsung.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