]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(zynqmp): remove redundant api_version check
authorBoyan Karatotev <boyan.karatotev@arm.com>
Tue, 22 Nov 2022 12:13:44 +0000 (12:13 +0000)
committerBoyan Karatotev <boyan.karatotev@arm.com>
Thu, 1 Dec 2022 16:17:34 +0000 (16:17 +0000)
commitd0b58c8a9bff3cabfdb59e052ab7eaecfe64b305
treed06f21740011806c17d8f299685a73ad34c486e0
parentf4b8470feee4437fb3984baeee8c61ed91f63f51
fix(zynqmp): remove redundant api_version check

The api_version is checked in pm_setup() and an error is returned. The
smc handlers will not be registered on error so doing the check again is
redundant. This also silences a warning when compiling with -Wextra.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I09395e6a20e3f6eb22a1f81ec2f6bdf034eeb4bf
plat/xilinx/zynqmp/pm_service/pm_svc_main.c