icplus: Use netif_running to determine device state
authorJon Mason <[email protected]>
Wed, 4 Sep 2013 18:26:01 +0000 (11:26 -0700)
committerDavid S. Miller <[email protected]>
Thu, 5 Sep 2013 18:27:32 +0000 (14:27 -0400)
commitdfafb73f355940989507c56b9282773132e86a9f
tree955540319fa2b50a809103a84523aaf855e77128
parent27082ee1b92f4d41e78b85fe40f6ab39673fba00
icplus: Use netif_running to determine device state

Remove the __LINK_STATE_START check to verify the device is running, in
favor of netif_running().  netif_running() performs the same check of
__LINK_STATE_START, so the code should behave the same.

Signed-off-by: Jon Mason <[email protected]>
Cc: Francois Romieu <[email protected]>
Cc: Sorbica Shieh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/icplus/ipg.c