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: Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: [PATCH 1/6] [media] vim2m: Remove surplus name initialization
Date: Tue, 12 Jun 2018 13:11:01 +0300	[thread overview]
Message-ID: <20180612101106.16346-1-scileont@gmail.com> (raw)

Name is already initialized by assignment from vim2m_videodev.

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

diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c
index 065483e62db4..1393aa806462 100644
--- a/drivers/media/platform/vim2m.c
+++ b/drivers/media/platform/vim2m.c
@@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev)
 	}
 
 	video_set_drvdata(vfd, dev);
-	snprintf(vfd->name, sizeof(vfd->name), "%s", vim2m_videodev.name);
 	v4l2_info(&dev->v4l2_dev,
 			"Device registered as /dev/video%d\n", vfd->num);
 
-- 
2.17.1

             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 Anton Leontiev [this message]
2018-06-12 10:11 ` [PATCH 2/6] [media] ti-vpe: Remove surplus name initialization 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 ` [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-1-scileont@gmail.com \
    --to=scileont@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