summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-07-22 13:53:58 +0300
committerAnup Patel <anup@brainfault.org>2021-07-27 14:46:02 +0300
commitce03c88ee142787cfe994d776491f43020de01de (patch)
treed8e6ffd4f25819c1bda8e0a5078822bf4ed9bf7a
parent217d5e488033c7337b80794563b2f13e29b9f88d (diff)
downloadopensbi-ce03c88ee142787cfe994d776491f43020de01de.tar.xz
lib: utils: remove unused variable in fdt_reset_init
The value of variable current_driver is unused. Remove the variable. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
-rw-r--r--lib/utils/reset/fdt_reset.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c
index aa5f59f..87f925c 100644
--- a/lib/utils/reset/fdt_reset.c
+++ b/lib/utils/reset/fdt_reset.c
@@ -24,8 +24,6 @@ static struct fdt_reset *reset_drivers[] = {
&fdt_reset_thead,
};
-static struct fdt_reset *current_driver = NULL;
-
int fdt_reset_init(void)
{
int pos, noff, rc;
@@ -47,7 +45,6 @@ int fdt_reset_init(void)
if (rc)
return rc;
}
- current_driver = drv;
break;
}