summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-09-25 21:54:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-20 18:47:35 +0100
commit2d6b885ba7416e80f3a5bee7553d3f3dee0b9745 (patch)
treebc84c13398d42834c0c5c9d7513e27bfbd884fd8 /drivers/phy
parent6fce50c100c85f1c05f463b2ee0b83be1290f4cb (diff)
downloadlinux-rt-2d6b885ba7416e80f3a5bee7553d3f3dee0b9745.tar.gz
phy: lantiq: Fix compile warning
[ Upstream commit 3a00dae006623d799266d85f28b5f76ef07d6b6c ] This local variable is unused, remove it. Fixes: dea54fbad332 ("phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/lantiq/phy-lantiq-rcu-usb2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c b/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
index 986224fca9e9..5a180f71d8d4 100644
--- a/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
+++ b/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
@@ -156,7 +156,6 @@ static int ltq_rcu_usb2_of_parse(struct ltq_rcu_usb2_priv *priv,
{
struct device *dev = priv->dev;
const __be32 *offset;
- int ret;
priv->reg_bits = of_device_get_match_data(dev);