Commit 4250b75b authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

net: core: delete duplicated words

Drop repeated words in net/core/.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 785a2b10
...@@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(__dev_get_by_flags); ...@@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(__dev_get_by_flags);
* @name: name string * @name: name string
* *
* Network device names need to be valid file names to * 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. * whitespace.
*/ */
bool dev_valid_name(const char *name) bool dev_valid_name(const char *name)
...@@ -9512,7 +9512,7 @@ int __netdev_update_features(struct net_device *dev) ...@@ -9512,7 +9512,7 @@ int __netdev_update_features(struct net_device *dev)
/* driver might be less strict about feature dependencies */ /* driver might be less strict about feature dependencies */
features = netdev_fix_features(dev, features); 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) netdev_for_each_upper_dev_rcu(dev, upper, iter)
features = netdev_sync_upper_features(dev, upper, features); features = netdev_sync_upper_features(dev, upper, features);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment