Thread (2 messages) 2 messages, 2 authors, 2016-03-01

Re: [PATCH] of_mdio: kill useless variable in of_mdiobus_register()

From: David Miller <davem@davemloft.net>
Date: 2016-03-01 22:42:00
Also in: netdev

From: Sergei Shtylyov <redacted>
Date: Sun, 28 Feb 2016 21:56:34 +0300
of_mdiobus_register()  declares the 'paddr' variable to hold the result of
the of_get_property()  but only uses it once after that while the function
can be called directly from the *if* statement. Remove that variable and
switch to calling of_find_property() instead since  we don't care about
the "reg" property's value anyway...

Signed-off-by: Sergei Shtylyov <redacted>

---
The patch is against DaveM's 'net-next.git' repo.
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help