WARNING:BRACES: braces {} are not necessary for single statement blocks

Co-developed-by: Andrey Khlopkov <ij72u...@stud.informatik.uni-erlangen.de>
Signed-off-by: Andrey Khlopkov <ij72u...@stud.informatik.uni-erlangen.de>
Signed-off-by: Philipp Gerlesberger <philipp.gerlesber...@fau.de>
---
 drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c 
b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c
index 00b54a0613bb..08f5c3ea6d29 100644
--- a/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c
+++ b/drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c
@@ -23,9 +23,7 @@ int ia_css_timer_get_current_tick(struct ia_css_clock_tick 
*curr_ts)
 {
        assert(curr_ts);
        if (!curr_ts)
-       {
                return -EINVAL;
-       }
        curr_ts->ticks = (clock_value_t)gp_timer_read(GP_TIMER_SEL);
        return 0;
 }
-- 
2.20.1

Reply via email to