staging: et131x: remove calls to netif_carrier_[on|off] from et131x_mii_check
authorMark Einon <mark.einon@gmail.com>
Sun, 4 Sep 2011 10:24:36 +0000 (11:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:54:55 +0000 (16:54 -0700)
commit5ee574e0c4ff86f3759987f833f06d4f0cdeb953
tree7e2c25c28fb4a3f45ebe463cf1495a9922f63268
parent3e3b5f39159b97baa1dd38bff848aeccd996b7f0
staging: et131x: remove calls to netif_carrier_[on|off] from et131x_mii_check

As et131x_adjust_link is called from the phydev in response to a netif_carrier_[on|off], and is the only caller of et131x_mii_check, we don't need to call netif_carrier_[on|off] again.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_phy.c