summaryrefslogtreecommitdiff
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorlizhe <sensor1010@163.com>2022-03-09 16:54:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 16:31:31 +0300
commit901581389eade09af969c1a4183e17ec663131d0 (patch)
tree4153def7b1fedcc02fd36ef6e81ddd3190507f7a /drivers/base/dd.c
parent555d44932c67e617d89bc13c81c7efac5b51fcfa (diff)
downloadlinux-901581389eade09af969c1a4183e17ec663131d0.tar.xz
drivers/base/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@163.com> Link: https://lore.kernel.org/r/20220309135418.31101-1-sensor1010@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dd.c')
-rw-r--r--drivers/base/dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 551cf21c0903..af6bea56f4e2 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
*