]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ti-pipe3: remove set but unused variable
authorVinod Koul <vkoul@kernel.org>
Mon, 29 Jun 2020 14:50:10 +0000 (20:20 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 8 Jul 2020 11:10:28 +0000 (16:40 +0530)
commit21d2a954f970cc42afdbd9a5cf82458ba9e7435e
tree4cddf0c4ad227c193b5805885caf4ee2af76284b
parent23a684e878b437093329f08e04f6aed4198dc7ad
phy: ti-pipe3: remove set but unused variable

ti_pipe3_power_on() sets variable 'ret' but never uses it, so remove it.

drivers/phy/ti/phy-ti-pipe3.c:340:6: warning: variable ‘ret’ set but not
used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20200629145010.122675-4-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-ti-pipe3.c