]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
media: atomisp: fix a brace coding sytle issue
authorAnkit Baluni <b18007@students.iitmandi.ac.in>
Wed, 29 Jul 2020 08:05:16 +0000 (10:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 08:58:35 +0000 (10:58 +0200)
Removed braces in 'if else' condition as it only consists of
one line each and according to coding style rules , in this case
the braces are not required.

Signed-off-by: Ankit Baluni <b18007@students.iitmandi.ac.in>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c

index daa4a1d330ad05617197cbb568be30e874788a56..28c84fad3e899c7f73078b2107e78b5d15784ec0 100644 (file)
@@ -1830,11 +1830,10 @@ start_sensor:
                        dev_err(isp->dev, "master slave sensor stream on failed!\n");
                        goto out;
                }
-               if (!IS_ISP2401) {
+               if (!IS_ISP2401)
                        __wdt_on_master_slave_sensor(isp, wdt_duration);
-               } else {
+               else
                        __wdt_on_master_slave_sensor_pipe(pipe, wdt_duration, true);
-               }
                goto start_delay_wq;
        } else if (asd->depth_mode->val && (atomisp_streaming_count(isp) <
                                            ATOMISP_DEPTH_SENSOR_STREAMON_COUNT)) {