Commit 90158138 authored by lizhe's avatar lizhe Committed by Greg Kroah-Hartman

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: default avatarlizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20220309135418.31101-1-sensor1010@163.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 555d4493
...@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev) ...@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
mutex_unlock(&deferred_probe_mutex); 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 * driver_deferred_probe_trigger() - Kick off re-probing deferred devices
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment