Modifies the return type of different static functions to void and deletes unused return variables as the return value is being ignored in all subsequent function calls thus not useful to have a return type. This improves code readability and maintainability. Changes in v2: - Ammend wording in cover letter. Suggested-by: Julia Lawall <julia.lawall@xxxxxxxx> - Drop variable 'ret' entirely as it is unused. Suggested-by: Julia Lawall <julia.lawall@xxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Dan Carpenter <dan.carpenter@xxxxxxxxxx> Dorcas AnonoLitunya (2): staging: sm750fb: Remove unused return value in display_control_adjust_sm750le() staging: sm750fb: Remove unused return variable in program_mode_registers() drivers/staging/sm750fb/ddk750_mode.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) -- 2.42.0.345.gaab89be2eb