Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eab231c0 authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman
Browse files

staging: most: v4l2-aim: remove unnecessary label err_vbi_dev



For optimization purposes this patch removes the label err_vbi_dev.

Signed-off-by: default avatarAndrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b23e8e51
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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;
}