phy: lantiq: Fix compile warning
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 25 Sep 2018 19:54:07 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2019 17:00:41 +0000 (18:00 +0100)
[ 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>
drivers/phy/lantiq/phy-lantiq-rcu-usb2.c

index 986224fca9e913ca521695376bdb818cbec28612..5a180f71d8d4d1ae9843d8747794de75468764cc 100644 (file)
@@ -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);