diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-09-18 06:35:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 23:12:43 +0200 |
commit | 4250b75b40c5d2de6d5a180723f68167bf9b006a (patch) | |
tree | d0540409d1e0f66721b0f8a82cfd0afd6137910d /net | |
parent | Revert "ibmvnic: remove never executed if statement" (diff) | |
download | linux-4250b75b40c5d2de6d5a180723f68167bf9b006a.tar.xz linux-4250b75b40c5d2de6d5a180723f68167bf9b006a.zip |
net: core: delete duplicated words
Drop repeated words in net/core/.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index bd32ba6202d1..bd9c8510d86f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(__dev_get_by_flags); * @name: name string * * Network device names need to be valid file names to - * to allow sysfs to work. We also disallow any kind of + * allow sysfs to work. We also disallow any kind of * whitespace. */ bool dev_valid_name(const char *name) @@ -9512,7 +9512,7 @@ int __netdev_update_features(struct net_device *dev) /* driver might be less strict about feature dependencies */ features = netdev_fix_features(dev, features); - /* some features can't be enabled if they're off an an upper device */ + /* some features can't be enabled if they're off on an upper device */ netdev_for_each_upper_dev_rcu(dev, upper, iter) features = netdev_sync_upper_features(dev, upper, features); |