From ce03c88ee142787cfe994d776491f43020de01de Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 22 Jul 2021 12:53:58 +0200 Subject: [PATCH] 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 Reviewed-by: Atish Patra --- lib/utils/reset/fdt_reset.c | 3 --- 1 file changed, 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; } -- 2.7.4