diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-05-31 13:05:59 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-06-03 17:03:52 +0530 |
commit | d98010817a26eba8d4d1e8a639e0b7d7f042308a (patch) | |
tree | 866ce1a389d0fd5b6f64217258e961d6bcc907b9 /lib/net_utils.c | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
phy: qcom-qusb2: fix missing assignment of ret when calling clk_prepare_enable
The error return from the call to clk_prepare_enable is not being assigned
to variable ret even though ret is being used to check if the call failed.
Fix this by adding in the missing assignment.
Addresses-Coverity: ("Logically dead code")
Fixes: 891a96f65ac3 ("phy: qcom-qusb2: Add support for runtime PM")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions