Re: [PATCH] net: ethernet: et131x: Remove redundant register read

From
Andrew Lunn <andrew@lunn.ch>
Date
2020-07-17 13:40:12
Also in
lkml
Reply to
Mark Einon, 2020-07-17
On Fri, Jul 17, 2020 at 02:21:35PM +0100, Mark Einon wrote:
Following the removal of an unused variable assignment (remove
unused variable 'pm_csr') the associated register read can also go,
as the read also occurs in the subsequent et1310_in_phy_coma()
call.
Hi Mark

Do you have any hardware documentation which indicates these read are
not required? Have you looked back through the git history to see if
there are any comments about these read?

Hardware reads which appear pointless are sometimes very important to
actually make the hardware work.

	 Andrew
Thread (5 messages) 5 messages, 3 authors, last reply 2020-07-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help