[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200729080516.2830-1-b18007@students.iitmandi.ac.in>
Date: Wed, 29 Jul 2020 13:35:16 +0530
From: Ankit Baluni <b18007@...dents.iitmandi.ac.in>
To: mchehab@...nel.org, gregkh@...uxfoundation.org,
sakari.ailus@...ux.intel.com
Cc: linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, b18007@...dents.iitmandi.ac.in
Subject: [PATCH v2] Staging: media: atomisp: Fixed a brace coding sytle issue
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@...dents.iitmandi.ac.in>
---
Change in -v2:
-Removed space before ':' in subject line.
-Added space before '<' in 'From' and 'Signed-off-by' line.
-Added detailed description.
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
index f8d616f08b51..701de098cb29 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
@@ -1828,11 +1828,10 @@ static int atomisp_streamon(struct file *file, void *fh,
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)) {
--
2.25.1
Powered by blists - more mailing lists