Commit 8ecbc40a authored by Zhang Shengju's avatar Zhang Shengju Committed by David S. Miller

net: update comment for netif_dormant() function

This patch updates the comment for netif_dormant() function to reflect
the intended usage.
Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3993f2cb
...@@ -3408,10 +3408,10 @@ static inline void netif_dormant_off(struct net_device *dev) ...@@ -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 * @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) static inline bool netif_dormant(const struct net_device *dev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment