optee: Replace uninitialized return variable by proper one.
authorChristoph Müllner <christoph.muellner@theobroma-systems.com>
Sun, 26 Jan 2020 22:20:54 +0000 (23:20 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Jan 2020 18:30:35 +0000 (13:30 -0500)
commit0f97e923d4921a057e1a7bbfac170cadefde5624
tree09dd2b0b75d8b976ccf1afe306bb95bcbee1d889
parente4e355f6e456059aed4f9e4ea58eef636445e1d8
optee: Replace uninitialized return variable by proper one.

As hinted by GCC 9, there is a return statement that returns
an uninitialized variable in optee_copy_firmware_node().
This patch addresses this.

Signed-off-by: Christoph Müllner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
lib/optee/optee.c