IB/iser: Remove unneeded semicolons
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Mon, 11 Jan 2021 14:57:51 +0000 (14:57 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 20 Jan 2021 00:02:06 +0000 (20:02 -0400)
No need to add semicolon after closing bracket.

Link: https://lore.kernel.org/r/20210111145754.56727-2-mgurtovoy@nvidia.com
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c

index d4e057f..afec40d 100644 (file)
@@ -169,7 +169,7 @@ iser_set_dif_domain(struct scsi_cmnd *sc, struct ib_sig_domain *domain)
        domain->sig.dif.ref_escape = true;
        if (sc->prot_flags & SCSI_PROT_REF_INCREMENT)
                domain->sig.dif.ref_remap = true;
-};
+}
 
 static int
 iser_set_sig_attrs(struct scsi_cmnd *sc, struct ib_sig_attrs *sig_attrs)
@@ -390,4 +390,3 @@ err_reg:
 
        return err;
 }
-
index 2bd18b0..136f6c4 100644 (file)
@@ -685,7 +685,7 @@ static void iser_cleanup_handler(struct rdma_cm_id *cma_id,
        iser_disconnected_handler(cma_id);
        iser_free_ib_conn_res(iser_conn, destroy);
        complete(&iser_conn->ib_completion);
-};
+}
 
 static int iser_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *event)
 {