staging: atomisp: remove useless return statement in atomisp_cmd.c
Subsystems (4)
PATCH 1/1 staging: atomisp: remove useless return statement in atomisp_cmd.c
Remove unnecessary return statement at the end of void function.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>
--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +0 -1
@@ -1417,7 +1417,6 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd, err:atomisp_css_free_stat_buffers (asd); -return ; } static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,
Signature · 1 line
2.43.0
Quoted 4 lines · Oskar Ray-Frayssinet
Remove unnecessary return statement at the end of void function.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>---
LGTM.
Reviewed-by Ethan Tidmore <[email protected]>
Thanks,
ET
Hi Oskar,
Quoted 12 lines · Oskar Ray-Frayssinet
Remove unnecessary return statement at the end of void function.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 - 1 file changed, 1 deletion(-)drivers/staging/media/atomisp/pci/atomisp_cmd.c +0
-0
drivers/staging/media/atomisp/pci/atomisp_cmd.c static void atomisp_update_grid_info(struct atomisp_sub_device *asd, · line 1420
Quoted 4 lines
drivers/staging/media/atomisp/pci/atomisp_cmd.c +0
-1@@ -1417,7 +1417,6 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd, err:atomisp_css_free_stat_buffers (asd); -return ;
I'm sure there are more of these in the driver.
Quoted 3 lines
drivers/staging/media/atomisp/pci/atomisp_cmd.c +0
-0} static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,
Signature · 3 lines
Regards, Sakari Ailus