]> Git Repo - linux.git/commitdiff
drivers/base/dd.c : Remove the initial value of the global variable
authorlizhe <[email protected]>
Wed, 9 Mar 2022 13:54:18 +0000 (05:54 -0800)
committerGreg Kroah-Hartman <[email protected]>
Fri, 18 Mar 2022 13:31:31 +0000 (14:31 +0100)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/base/dd.c

index 551cf21c0903830c595bff32c22039b8d39b4a19..af6bea56f4e25a9088499bef419ba0cdb87dbead 100644 (file)
@@ -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
  *
This page took 0.059312 seconds and 4 git commands to generate.