diff mbox series

[1/7,net-next] net: core: delete duplicated words

Message ID 20200918043521.17346-2-rdunlap@infradead.org
State Accepted
Delegated to: David Miller
Headers show
Series net: various: delete duplicated words | expand

Commit Message

Randy Dunlap Sept. 18, 2020, 4:35 a.m. UTC
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>
---
 net/core/dev.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

--- linux-next-20200917.orig/net/core/dev.c
+++ linux-next-20200917/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)
@@ -9517,7 +9517,7 @@  int __netdev_update_features(struct net_
 	/* 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);