net: update comment for netif_dormant() function
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 26 Apr 2017 03:05:12 +0000 (11:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Apr 2017 20:23:17 +0000 (16:23 -0400)
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>
include/linux/netdevice.h

index 8c5c8cdc7b977250dab9cab2a508249eb3814e32..6847714a5ae3e318af52d57e0f39c3ac97cc5f44 100644 (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)
 {