projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82af093
)
phy: lantiq: Fix compile warning
author
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 25 Sep 2018 19:54:07 +0000
(21:54 +0200)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Wed, 26 Sep 2018 07:39:39 +0000
(13:09 +0530)
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>
drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
patch
|
blob
|
history
diff --git
a/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
b/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c
index
a918c5b
..
f9e0dd1
100644
(file)
--- 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);