diff options
author | Artur Weber <[email protected]> | 2023-08-09 13:42:16 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-08-18 16:37:51 +0100 |
commit | dfd122fe8591d513b5e51313601217b67ae98d13 (patch) | |
tree | 35169717806e11144bb06839aec448744db68b2d /lib/memory-notifier-error-inject.c | |
parent | fe1328b5b2a087221e31da77e617f4c2b70f3b7f (diff) |
backlight: lp855x: Drop ret variable in brightness change function
Fixes the following warning:
drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used
uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
Signed-off-by: Artur Weber <[email protected]>
Fixes: 5145531be5fb ("backlight: lp855x: Catch errors when changing brightness")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Reviewed-by: Daniel Thompson <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions