aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDorcas AnonoLitunya <anonolitunya@gmail.com>2023-10-19 13:13:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-21 12:01:01 +0200
commit3cad0b9d0bdd3092f0b1b620e2375d8cc94c82f6 (patch)
tree20cabcedb39077083a1b3fdca0178b2318705cf9 /tools/perf/scripts/python
parentstaging: bcm2835-audio: remove function snd_bcm2835_new_ctl() (diff)
downloadlinux-3cad0b9d0bdd3092f0b1b620e2375d8cc94c82f6.tar.gz
linux-3cad0b9d0bdd3092f0b1b620e2375d8cc94c82f6.zip
staging: sm750fb: Remove unused return variable in program_mode_registers()
Drops variable ret as it is unused in the code. This therefore modifies the return type of program_mode_registers() to void from int since the return value is being ignored in all function calls. This improves code readability and maintainability. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Dorcas AnonoLitunya <anonolitunya@gmail.com> Link: https://lore.kernel.org/r/20231019101348.22076-3-anonolitunya@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions