net: update comment for netif_dormant() function

This patch updates the comment for netif_dormant() function to reflect
the intended usage.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Zhang Shengju 2017-04-26 11:05:12 +08:00 committed by David S. Miller
parent 3993f2cb98
commit 8ecbc40ada
1 changed files with 2 additions and 2 deletions

View File

@ -3408,10 +3408,10 @@ static inline void netif_dormant_off(struct net_device *dev)
}
/**
* netif_dormant - test if carrier present
* netif_dormant - test if device is dormant
* @dev: network device
*
* Check if carrier is present on device
* Check if device is dormant.
*/
static inline bool netif_dormant(const struct net_device *dev)
{