diff mbox series

RDMA/irdma: remove extraneous indentation on a statement

Message ID 20210605130400.25987-1-colin.king@canonical.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series RDMA/irdma: remove extraneous indentation on a statement | expand

Commit Message

Colin King June 5, 2021, 1:04 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

A single statement is indented one level too deeply, clean up the
code by removing the extraneous tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/infiniband/hw/irdma/verbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Saleem, Shiraz June 7, 2021, 2:54 p.m. UTC | #1
> Subject: [PATCH] RDMA/irdma: remove extraneous indentation on a statement
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> A single statement is indented one level too deeply, clean up the code by
> removing the extraneous tab.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/infiniband/hw/irdma/verbs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
> index 294155293243..65cb58cb32e1 100644
> --- a/drivers/infiniband/hw/irdma/verbs.c
> +++ b/drivers/infiniband/hw/irdma/verbs.c
> @@ -3442,7 +3442,7 @@ static void irdma_process_cqe(struct ib_wc *entry,
>  		entry->src_qp = cq_poll_info->qp_id;
>  	}
> 
> -		entry->byte_len = cq_poll_info->bytes_xfered;
> +	entry->byte_len = cq_poll_info->bytes_xfered;

Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Jason Gunthorpe June 7, 2021, 11:45 p.m. UTC | #2
On Sat, Jun 05, 2021 at 02:04:00PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> A single statement is indented one level too deeply, clean up the
> code by removing the extraneous tab.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
> ---
>  drivers/infiniband/hw/irdma/verbs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
index 294155293243..65cb58cb32e1 100644
--- a/drivers/infiniband/hw/irdma/verbs.c
+++ b/drivers/infiniband/hw/irdma/verbs.c
@@ -3442,7 +3442,7 @@  static void irdma_process_cqe(struct ib_wc *entry,
 		entry->src_qp = cq_poll_info->qp_id;
 	}
 
-		entry->byte_len = cq_poll_info->bytes_xfered;
+	entry->byte_len = cq_poll_info->bytes_xfered;
 }
 
 /**