infiniband/core: fix repeated words in comments

Message ID 20221022060030.50900-1-wangjianli@cdjrlc.com
State New
Headers
Series infiniband/core: fix repeated words in comments |

Commit Message

wangjianli Oct. 22, 2022, 6 a.m. UTC
  Delete the redundant word 'the'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/infiniband/core/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Leon Romanovsky Oct. 24, 2022, 11:47 a.m. UTC | #1
On Sat, 22 Oct 2022 14:00:30 +0800, wangjianli wrote:
> Delete the redundant word 'the'.
> 
> 

Applied, thanks!

[1/1] infiniband/core: fix repeated words in comments
      https://git.kernel.org/rdma/rdma/c/c4bb733234b0ff

Best regards,
  

Patch

diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c
index 4084d05a4510..2e91d8879326 100644
--- a/drivers/infiniband/core/cache.c
+++ b/drivers/infiniband/core/cache.c
@@ -1422,7 +1422,7 @@  int rdma_read_gid_l2_fields(const struct ib_gid_attr *attr,
 			*vlan_id = vlan_dev_vlan_id(ndev);
 		} else {
 			/* If the netdev is upper device and if it's lower
-			 * device is vlan device, consider vlan id of the
+			 * device is vlan device, consider vlan id of
 			 * the lower vlan device for this gid entry.
 			 */
 			netdev_walk_all_lower_dev_rcu(attr->ndev,