smsc75xx: eliminate unnecessary phy register read
authorSteve Glendinning <steve.glendinning@shawell.net>
Fri, 4 May 2012 00:57:12 +0000 (00:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2012 03:43:56 +0000 (23:43 -0400)
commit4f94a929e4adb0d0ed78d448ff68fe870163c575
treee9c1afc53b91b8e27fad9d5c570f3256da194ce6
parent7749622d7fc958ecfbec67bc76c9e0d861a872d8
smsc75xx: eliminate unnecessary phy register read

Only a write is necessary to clear the interrupt status, and we
don't use the value from the preceding read operation.  This
patch eliminates the unnecessary read.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c