[PATCH] ACPICA: drop unneeded initialization value
From: Sohaib Mohamed
Date: Wed Oct 06 2021 - 07:37:56 EST
Do not initialise statics to 0
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@xxxxxxxxx>
---
drivers/acpi/acpica/dbhistry.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/acpica/dbhistry.c b/drivers/acpi/acpica/dbhistry.c
index fd813c5d3952..60b77b11c0f2 100644
--- a/drivers/acpi/acpica/dbhistry.c
+++ b/drivers/acpi/acpica/dbhistry.c
@@ -24,9 +24,9 @@ typedef struct history_info {
} HISTORY_INFO;
static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE];
-static u16 acpi_gbl_lo_history = 0;
-static u16 acpi_gbl_num_history = 0;
-static u16 acpi_gbl_next_history_index = 0;
+static u16 acpi_gbl_lo_history;
+static u16 acpi_gbl_num_history;
+static u16 acpi_gbl_next_history_index;
/*******************************************************************************
*
--
2.25.1