projects
/
platform
/
kernel
/
opensbi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217d5e4
)
lib: utils: remove unused variable in fdt_reset_init
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 22 Jul 2021 10:53:58 +0000
(12:53 +0200)
committer
Anup Patel
<anup@brainfault.org>
Tue, 27 Jul 2021 11:46:02 +0000
(17:16 +0530)
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>
lib/utils/reset/fdt_reset.c
patch
|
blob
|
history
diff --git
a/lib/utils/reset/fdt_reset.c
b/lib/utils/reset/fdt_reset.c
index
aa5f59f
..
87f925c
100644
(file)
--- 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;
}