From: lizhe <sensor1010@163.com>
To: gregkh@linuxfoundation.org, rafael@kernel.org, sensor1010@163.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/dd.c : Remove the initial value of the global variable
Date: Sat, 12 Mar 2022 19:45:16 -0800 [thread overview]
Message-ID: <20220313034516.5729-1-sensor1010@163.com> (raw)
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>
---
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
next reply other threads:[~2022-03-13 4:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 3:45 lizhe [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-13 4:24 [PATCH] drivers/dd.c : Remove the initial value of the global variable lizhe
2022-03-13 8:12 ` Greg KH
2022-03-09 13:54 lizhe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220313034516.5729-1-sensor1010@163.com \
--to=sensor1010@163.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.