media: staging: atomisp: get rid of an unused var
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Mar 2018 20:13:36 +0000 (16:13 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 4 Apr 2018 11:36:30 +0000 (07:36 -0400)
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 <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c

index 33024b92911f016df230392ce3aa6528531b822a..2f0b76a33414b5753ac2473e93f19c414cfd0e2f 100644 (file)
@@ -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;