[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220313042442.21539-1-sensor1010@163.com>
Date: Sat, 12 Mar 2022 20:24:42 -0800
From: lizhe <sensor1010@....com>
To: adrian.hunter@...el.com, cohuck@...hat.com, tomeu@...euvizoso.net,
grant.likely@...retlab.ca, dmitry.torokhov@...il.com,
andy.shevchenko@...il.com, andrzej.hajda@...el.com,
geert@...ux-m68k.org, ulf.hansson@...aro.org, broonie@...nel.org,
gregkh@...uxfoundation.org, rafael@...nel.org, sensor1010@....com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] drivers/dd.c : Remove the initial value of the global variable
The global variable driver_deferred_probe_enable has
a default value of false and does not need to be
initialized to false
Signed-off-by: lizhe <sensor1010@....com>
---
drivers/base/dd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index f47cab21430f..7fcd895d49be 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
mutex_unlock(&deferred_probe_mutex);
}
-static bool driver_deferred_probe_enable = false;
+static bool driver_deferred_probe_enable;
/**
* driver_deferred_probe_trigger() - Kick off re-probing deferred devices
*
--
2.25.1
Powered by blists - more mailing lists