Skip to content

Commit

Permalink
net: update comment for netif_dormant() function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhang Shengju authored and David S. Miller committed Apr 27, 2017
1 parent 3993f2c commit 8ecbc40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 8ecbc40

Please sign in to comment.