RDMA: Correct duplicated words in comments
authorJiang Jian <jiangjian@cdjrlc.com>
Wed, 22 Jun 2022 16:22:13 +0000 (00:22 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 24 Jun 2022 19:52:28 +0000 (16:52 -0300)
There is a duplicated word 'is' and 'for' in a comment that needs to be
dropped.

Link: https://lore.kernel.org/r/20220622170853.3644-1-jiangjian@cdjrlc.com
Link: https://lore.kernel.org/r/20220623103708.43104-1-jiangjian@cdjrlc.com
Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/hw/bnxt_re/bnxt_re.h

index 94d83b6..29b1ab1 100644 (file)
@@ -68,7 +68,7 @@ static int uverbs_try_lock_object(struct ib_uobject *uobj,
         * In exclusive access mode, we check that the counter is zero (nobody
         * claimed this object) and we set it to -1. Releasing a shared access
         * lock is done simply by decreasing the counter. As for exclusive
-        * access locks, since only a single one of them is is allowed
+        * access locks, since only a single one of them is allowed
         * concurrently, setting the counter to zero is enough for releasing
         * this lock.
         */
index 79401e6..785c37c 100644 (file)
@@ -173,7 +173,7 @@ struct bnxt_re_dev {
        /* Max of 2 lossless traffic class supported per port */
        u16                             cosq[2];
 
-       /* QP for for handling QP1 packets */
+       /* QP for handling QP1 packets */
        struct bnxt_re_gsi_context      gsi_ctx;
        struct bnxt_re_stats            stats;
        atomic_t nq_alloc_cnt;