aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-08-28 23:49:43 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 18:21:08 -0400
commit1eb96047052fe13557d6f278c835ef8b88ac3b4c (patch)
treedcfe8e0d42587f22bc0e4c2f73b613810bca426a
parent47c0b565ecd827984f43e52a4ec9b9a191feb80c (diff)
[media] v4l: ti-vpe: Remove casting the return value which is a void pointer
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/platform/ti-vpe/vpe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index 7c3c7469da1d..9a081c291159 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -2344,8 +2344,7 @@ v4l2_dev_unreg:
2344 2344
2345static int vpe_remove(struct platform_device *pdev) 2345static int vpe_remove(struct platform_device *pdev)
2346{ 2346{
2347 struct vpe_dev *dev = 2347 struct vpe_dev *dev = platform_get_drvdata(pdev);
2348 (struct vpe_dev *) platform_get_drvdata(pdev);
2349 2348
2350 v4l2_info(&dev->v4l2_dev, "Removing " VPE_MODULE_NAME); 2349 v4l2_info(&dev->v4l2_dev, "Removing " VPE_MODULE_NAME);
2351 2350