summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/ti-vpe
diff options
context:
space:
mode:
authorAnton Leontiev <scileont@gmail.com>2018-06-12 06:11:02 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 07:51:59 -0400
commit0d961c8998d7e8ea6dd0e00a7fdc629a0a0753cd (patch)
treec19dadf304d1e130996880057ec2c478245654d5 /drivers/media/platform/ti-vpe
parenta9c24b8977c216cd7a8bf5a9f9d0621668e49746 (diff)
downloadlinux-0d961c8998d7e8ea6dd0e00a7fdc629a0a0753cd.tar.bz2
media: ti-vpe: Remove surplus name initialization
Name is already initialized by assignment from vpe_videodev. Signed-off-by: Anton Leontiev <scileont@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/ti-vpe')
-rw-r--r--drivers/media/platform/ti-vpe/vpe.c1
1 files changed, 0 insertions, 1 deletions
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);
}