Commit d33a6d32 authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab
Browse files

media: atomisp: Remove unused lock member from struct atomisp_sub_device



The spin-lock embedded in struct atomisp_sub_device is not used anywhere,
remove it.

Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent f10fc179
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1356,7 +1356,6 @@ int atomisp_subdev_init(struct atomisp_device *isp)
		return -ENOMEM;
	for (i = 0; i < isp->num_of_streams; i++) {
		asd = &isp->asd[i];
		spin_lock_init(&asd->lock);
		asd->isp = isp;
		isp_subdev_init_params(asd);
		asd->index = i;
+0 −1
Original line number Diff line number Diff line
@@ -272,7 +272,6 @@ struct atomisp_sub_device {
	/* video pipe main output */
	struct atomisp_video_pipe video_out_video_capture;
	/* struct isp_subdev_params params; */
	spinlock_t lock;
	struct atomisp_device *isp;
	struct v4l2_ctrl_handler ctrl_handler;
	struct v4l2_ctrl *fmt_auto;