mbox series

[0/2] Remove unused return values from functions

Message ID cover.1697619623.git.anonolitunya@gmail.com
Headers show
Series Remove unused return values from functions | expand

Message

Dorcas Anono Litunya Oct. 18, 2023, 9:07 a.m. UTC
Modifies the return type of different static functions to void as the return value is being ignored
in all funtion calls thus not useful to have a return type.This improves
code readability and maintainability.

Dorcas AnonoLitunya (2):
  staging: sm750fb: Remove unused return value in
    display_control_adjust_sm750le()
  staging: sm750fb: Remove unused return value in
    program_mode_registers()

 drivers/staging/sm750fb/ddk750_mode.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)