Fix uninitialized var

This commit is contained in:
Vincent de Phily 2023-04-15 21:14:22 +01:00
parent d2ed92cb07
commit 619d4e22fd

View file

@ -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;