Skip to content

Commit 9015813

Browse files
leesagaciousgregkh
authored andcommitted
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>
1 parent 555d449 commit 9015813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/dd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
152152
mutex_unlock(&deferred_probe_mutex);
153153
}
154154

155-
static bool driver_deferred_probe_enable = false;
155+
static bool driver_deferred_probe_enable;
156156
/**
157157
* driver_deferred_probe_trigger() - Kick off re-probing deferred devices
158158
*

0 commit comments

Comments
 (0)