diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2021-12-11 21:00:54 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-14 12:15:07 +0300 |
commit | b156117aed1b9d192efcb27f5b37f78cd21fa545 (patch) | |
tree | 33ffd1cfd5de3826858d6a98875f4446f1f0c4db /include/dt-bindings | |
parent | 9d031a51b399b368b180886632402273bf53d6a2 (diff) | |
download | linux-b156117aed1b9d192efcb27f5b37f78cd21fa545.tar.xz |
phy: rockchip-inno-usb2: remove redundant assignment to variable delay
Variable delay is being assigned to zero and the code falls through to
the next case in a switch statement that returns out of the function.
The variable is never read in this scenario and so the assignment is
redundant and can be removed.
Cleans up scan-build static analysis warning:
drivers/phy/rockchip/phy-rockchip-inno-usb2.c:753:3: warning: Value
stored to 'delay' is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20211211180054.525368-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions