media: atomisp: don't store an unused sink data on a var
Fixes this Werror breakage: drivers/staging/media/atomisp/pci/atomisp_ioctl.c: In function 'atomisp_streamon': drivers/staging/media/atomisp/pci/atomisp_ioctl.c:1714:44: error: variable 'sink' set but not used [-Werror=unused-but-set-variable] 1714 | struct v4l2_mbus_framefmt *sink; | ^~~~ Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
df383edffd
commit
a90bc00077
|
@ -1711,9 +1711,7 @@ start_sensor:
|
|||
|
||||
start_delay_wq:
|
||||
if (asd->continuous_mode->val) {
|
||||
struct v4l2_mbus_framefmt *sink;
|
||||
|
||||
sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL,
|
||||
atomisp_subdev_get_ffmt(&asd->subdev, NULL,
|
||||
V4L2_SUBDEV_FORMAT_ACTIVE,
|
||||
ATOMISP_SUBDEV_PAD_SINK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue