From: Mauro Carvalho Chehab Date: Mon, 26 Mar 2018 20:13:36 +0000 (-0400) Subject: media: staging: atomisp: get rid of an unused var X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f1581b444e8d30566852eabba189ad5b2e8418bf;p=openwrt%2Fstaging%2Fblogic.git media: staging: atomisp: get rid of an unused var As warned: drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c:8085 create_host_regular_capture_pipeline() error: uninitialized symbol 'frm'. Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c index 33024b92911f..2f0b76a33414 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c @@ -8044,7 +8044,6 @@ create_host_regular_capture_pipeline(struct ia_css_pipe *pipe) } if (mode == IA_CSS_CAPTURE_MODE_PRIMARY) { - unsigned int frm; struct ia_css_frame *local_in_frame = NULL; struct ia_css_frame *local_out_frame = NULL;