[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170427.163142.1805901844340899570.davem@davemloft.net>
Date: Thu, 27 Apr 2017 16:31:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zhangshengju@...s.chinamobile.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next] net: remove unnecessary carrier status check
From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Date: Wed, 26 Apr 2017 17:49:38 +0800
> 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: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Applied, thank you.
Powered by blists - more mailing lists