From: Sohaib Mohamed <sohaib.amhmd@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Robert Moore <robert.moore@intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, devel@acpica.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] ACPICA: drop unneeded initialization value
Date: Wed, 6 Oct 2021 13:20:04 +0200 [thread overview]
Message-ID: <20211006112004.52643-1-sohaib.amhmd@gmail.com> (raw)
Do not initialise statics to NULL
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
---
drivers/acpi/acpica/dbcmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/dbcmds.c b/drivers/acpi/acpica/dbcmds.c
index 9eb68e0751c7..d0e3b874ca0e 100644
--- a/drivers/acpi/acpica/dbcmds.c
+++ b/drivers/acpi/acpica/dbcmds.c
@@ -35,7 +35,7 @@ acpi_db_device_resources(acpi_handle obj_handle,
static void acpi_db_do_one_sleep_state(u8 sleep_state);
-static char *acpi_db_trace_method_name = NULL;
+static char *acpi_db_trace_method_name;
/*******************************************************************************
*
--
2.25.1
next reply other threads:[~2021-10-06 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-06 11:20 Sohaib Mohamed [this message]
2021-10-06 11:24 Sohaib Mohamed
2021-10-06 11:37 Sohaib Mohamed
2021-10-07 17:14 ` Rafael J. Wysocki
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=20211006112004.52643-1-sohaib.amhmd@gmail.com \
--to=sohaib.amhmd@gmail.com \
--cc=devel@acpica.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=robert.moore@intel.com \
/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
all inboxes | Powered by JetHome®