mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
[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>
This commit is contained in:
parent
d5fbbb762b
commit
82f72c5381
1 changed files with 0 additions and 1 deletions
|
|
@ -1060,7 +1060,6 @@ static int deinterlace_probe(struct platform_device *pdev)
|
|||
|
||||
return 0;
|
||||
|
||||
v4l2_m2m_release(pcdev->m2m_dev);
|
||||
err_m2m:
|
||||
video_unregister_device(&pcdev->vfd);
|
||||
err_ctx:
|
||||
|
|
|
|||
Loading…
Reference in a new issue