mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 12:25:08 +07:00
staging: most: v4l2-aim: remove unnecessary label err_vbi_dev
For optimization purposes this patch removes the label err_vbi_dev. Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b23e8e51e6
commit
eab231c039
@ -463,13 +463,9 @@ static int aim_register_videodev(struct most_video_dev *mdev)
|
||||
if (ret) {
|
||||
v4l2_err(&mdev->v4l2_dev, "video_register_device failed (%d)\n",
|
||||
ret);
|
||||
goto err_vbi_dev;
|
||||
video_device_release(mdev->vdev);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
err_vbi_dev:
|
||||
video_device_release(mdev->vdev);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user