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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{