net: calxedaxgmac: drop some unnecessary register writes
authorRob Herring <rob.herring@calxeda.com>
Mon, 5 Nov 2012 06:22:22 +0000 (06:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 08:51:14 +0000 (03:51 -0500)
commit9169963d8090288995b19bc8065d305843bad617
treee55333052d1c4b638ada1d5ce506dcf73a0784e9
parent0ec6d343f7bcf9e0944aa9ff65287b987ec00c0f
net: calxedaxgmac: drop some unnecessary register writes

The interrupts have already been cleared, so we don't need to clear them
again. Also, we could miss interrupts if they are cleared, but we don't
process the packet.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c