lib: simplify fdt_translate_address()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 28 Nov 2022 09:14:19 +0000 (10:14 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Dec 2022 05:06:41 +0000 (10:36 +0530)
commit1f6866e0159d0c78279e8a22abe73fb39469597d
tree47bedbcad098528617c2cb5a215a38778ffb49d7
parent5daa0ef0875561e7a9152b5e75e147a3ce8afca7
lib: simplify fdt_translate_address()

Don't assign a value to offset which is never used.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
lib/utils/fdt/fdt_helper.c