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

[media] m2m-deinterlace: remove dead code

As reported by smatch:
drivers/media/platform/m2m-deinterlace.c:1063 deinterlace_probe() info: ignoring unreachable code.

There's no need to call v4l2_m2m_release() here, as the last possible
failure in this code is to allocate the m2m struct.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

-1
-1
drivers/media/platform/m2m-deinterlace.c
··· 1060 1060 1061 1061 return 0; 1062 1062 1063 - v4l2_m2m_release(pcdev->m2m_dev); 1064 1063 err_m2m: 1065 1064 video_unregister_device(&pcdev->vfd); 1066 1065 err_ctx: