[PATCH] staging: media: atomisp: remove trailing statement
From: Sai Sree Kartheek Adivi
Date: Tue Jul 30 2024 - 03:18:29 EST
this patch fixes the following checkpatch.pl error..
ERROR: trailing statements should be on next line
#48: FILE: drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c:48:
+ if (!anr) return;
Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@xxxxxxxxx>
---
Just started contributing to the kernel. please help me understand my
mistakes if any.
.../atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
index 3f079c954..73364a65f 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
@@ -45,7 +45,8 @@ ia_css_anr_dump(
const struct sh_css_isp_anr_params *anr,
unsigned int level)
{
- if (!anr) return;
+ if (!anr)
+ return;
ia_css_debug_dtrace(level, "Advance Noise Reduction:\n");
ia_css_debug_dtrace(level, "\t%-32s = %d\n",
"anr_threshold", anr->threshold);
--
2.20.1