aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-09-25 15:54:07 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2018-09-26 03:39:39 -0400
commit3a00dae006623d799266d85f28b5f76ef07d6b6c (patch)
treeab8a3844632a6f30d55baa1168908036ded08e95
parent82af0932486716bb870c3c0fd1d8c65b3062956f (diff)
phy: lantiq: Fix compile warning
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>
-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 a918c5b2c4d9..f9e0dd19ff26 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,
156{ 156{
157 struct device *dev = priv->dev; 157 struct device *dev = priv->dev;
158 const __be32 *offset; 158 const __be32 *offset;
159 int ret;
160 159
161 priv->reg_bits = of_device_get_match_data(dev); 160 priv->reg_bits = of_device_get_match_data(dev);
162 161