From 619d4e22fde73444d1fd6d186082b334296b72e6 Mon Sep 17 00:00:00 2001 From: Vincent de Phily Date: Sat, 15 Apr 2023 21:14:22 +0100 Subject: [PATCH] Fix uninitialized var --- src/uniwill_leds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uniwill_leds.h b/src/uniwill_leds.h index 2145252..af72863 100644 --- a/src/uniwill_leds.h +++ b/src/uniwill_leds.h @@ -252,7 +252,7 @@ EXPORT_SYMBOL(uniwill_leds_init_late); int uniwill_leds_remove(struct platform_device *dev) { // FIXME Use mutexes - int ret; + int ret = 0; if (uw_leds_initialized) { uw_leds_initialized = false;