Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Jingoo Han and committed by
Mauro Carvalho Chehab
1eb96047 47c0b565

+1 -2
+1 -2
drivers/media/platform/ti-vpe/vpe.c
··· 2344 2344 2345 2345 static int vpe_remove(struct platform_device *pdev) 2346 2346 { 2347 - struct vpe_dev *dev = 2348 - (struct vpe_dev *) platform_get_drvdata(pdev); 2347 + struct vpe_dev *dev = platform_get_drvdata(pdev); 2349 2348 2350 2349 v4l2_info(&dev->v4l2_dev, "Removing " VPE_MODULE_NAME); 2351 2350