phy: zynqmp: Add conditions for return value check
The return value of xpsgtr_reset_release and xpsgtr_reset_assert
functions are stored in the ret variable but the value is overwritten
before it is used. So, check the return value of the ret variable.
Addresses-Coverity: Event value_overwrite.
Signed-off-by: NShravya Kumbham <shravya.kumbham@xilinx.com>
Showing
想要评论请 注册 或 登录