[PATCH] staging: media: atomisp: remove unnecessary parentheses in return statement

Teng Liu posted 1 patch 2 weeks, 6 days ago
.../staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c   | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] staging: media: atomisp: remove unnecessary parentheses in return statement
Posted by Teng Liu 2 weeks, 6 days ago
Remove unnecessary parentheses around the return value in
ia_css_pipeline_get_pipe_io_status(). return is not a function,
so parentheses are not required.

This addresses the following checkpatch error:
  ERROR: return is not a function, parentheses are not required

Signed-off-by: Teng Liu <27rabbitlt@gmail.com>
---
 .../staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c b/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
index 0470871f8..fba567de4 100644
--- a/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
+++ b/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
@@ -446,7 +446,7 @@ bool ia_css_pipeline_has_stopped(struct ia_css_pipeline *pipeline)
 
 struct sh_css_sp_pipeline_io_status *ia_css_pipeline_get_pipe_io_status(void)
 {
-	return(&sh_css_sp_group.pipe_io_status);
+	return &sh_css_sp_group.pipe_io_status;
 }
 
 bool ia_css_pipeline_is_mapped(unsigned int key)
-- 
2.53.0