From: Zhu Yanjun <yanjun....@oracle.com> Date: Wed, 3 May 2017 00:43:42 -0400
> Since netif_carrier_on() will do nothing if device's > carrier is already on, so it's unnecessary to do > carrier status check. > > It's the same for netif_carrier_off(). > > Signed-off-by: Zhu Yanjun <yanjun....@oracle.com> Applied, thanks.