From: lizhe <sensor1010@163.com>
To: adrian.hunter@intel.com, cohuck@redhat.com,
tomeu@tomeuvizoso.net, grant.likely@secretlab.ca,
dmitry.torokhov@gmail.com, andy.shevchenko@gmail.com,
andrzej.hajda@intel.com, geert@linux-m68k.org,
ulf.hansson@linaro.org, broonie@kernel.org,
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 20:24:42 -0800 [thread overview]
Message-ID: <20220313042442.21539-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:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 4:24 lizhe [this message]
2022-03-13 8:12 ` [PATCH] drivers/dd.c : Remove the initial value of the global variable Greg KH
-- strict thread matches above, loose matches on Subject: below --
2022-03-13 3:45 lizhe
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=20220313042442.21539-1-sensor1010@163.com \
--to=sensor1010@163.com \
--cc=adrian.hunter@intel.com \
--cc=andrzej.hajda@intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=broonie@kernel.org \
--cc=cohuck@redhat.com \
--cc=dmitry.torokhov@gmail.com \
--cc=geert@linux-m68k.org \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=tomeu@tomeuvizoso.net \
--cc=ulf.hansson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).