diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2017-04-25 23:05:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-27 16:23:17 -0400 |
commit | 8ecbc40ada116f2f7d6b61cd646802c87b7c5c7d (patch) | |
tree | b7136153b246aadf5690ed658137a61a48cb48e4 /include/linux/netdevice.h | |
parent | 3993f2cb983b2100409851f7b2abb21d685ea19c (diff) |
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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 8c5c8cdc7b97..6847714a5ae3 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -3408,10 +3408,10 @@ static inline void netif_dormant_off(struct net_device *dev) | |||
3408 | } | 3408 | } |
3409 | 3409 | ||
3410 | /** | 3410 | /** |
3411 | * netif_dormant - test if carrier present | 3411 | * netif_dormant - test if device is dormant |
3412 | * @dev: network device | 3412 | * @dev: network device |
3413 | * | 3413 | * |
3414 | * Check if carrier is present on device | 3414 | * Check if device is dormant. |
3415 | */ | 3415 | */ |
3416 | static inline bool netif_dormant(const struct net_device *dev) | 3416 | static inline bool netif_dormant(const struct net_device *dev) |
3417 | { | 3417 | { |