mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +01:00
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>
This commit is contained in:

committed by
Anup Patel

parent
217d5e4880
commit
ce03c88ee1
@@ -24,8 +24,6 @@ static struct fdt_reset *reset_drivers[] = {
|
|||||||
&fdt_reset_thead,
|
&fdt_reset_thead,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct fdt_reset *current_driver = NULL;
|
|
||||||
|
|
||||||
int fdt_reset_init(void)
|
int fdt_reset_init(void)
|
||||||
{
|
{
|
||||||
int pos, noff, rc;
|
int pos, noff, rc;
|
||||||
@@ -47,7 +45,6 @@ int fdt_reset_init(void)
|
|||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
current_driver = drv;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user