From: Zhang Shengju Date: Wed, 26 Apr 2017 03:05:12 +0000 (+0800) Subject: net: update comment for netif_dormant() function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8ecbc40ada116f2f7d6b61cd646802c87b7c5c7d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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) } /** - * 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) {