diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-07-22 12:53:58 +0200 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-07-27 17:16:02 +0530 |
| commit | ce03c88ee142787cfe994d776491f43020de01de (patch) | |
| tree | d8e6ffd4f25819c1bda8e0a5078822bf4ed9bf7a | |
| parent | 217d5e488033c7337b80794563b2f13e29b9f88d (diff) | |
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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
| -rw-r--r-- | lib/utils/reset/fdt_reset.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index aa5f59ff..87f925c0 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; } |
