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

Name is already initialized by assignment from vpe_videodev.

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

diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index e395aa85c8ad..de968295ca7d 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -2485,7 +2485,6 @@ static void vpe_fw_cb(struct platform_device *pdev)
 	}
 
 	video_set_drvdata(vfd, dev);
-	snprintf(vfd->name, sizeof(vfd->name), "%s", vpe_videodev.name);
 	dev_info(dev->v4l2_dev.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 [PATCH 1/6] [media] vim2m: Remove surplus name initialization Anton Leontiev
2018-06-12 10:11 ` Anton Leontiev [this message]
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-2-scileont@gmail.com \
    --to=scileont@gmail.com \
    --cc=bparrot@ti.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