diff mbox

[v2,07/13] be2iscsi: Remove redundant receive buffers posting

Message ID 1481624766-13846-8-git-send-email-jitendra.bhivare@broadcom.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Jitendra Bhivare Dec. 13, 2016, 10:26 a.m. UTC
This duplicate code got added during manual merging.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
---
 drivers/scsi/be2iscsi/be_main.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Hannes Reinecke Dec. 22, 2016, 12:57 p.m. UTC | #1
On 12/13/2016 11:26 AM, Jitendra Bhivare wrote:
> This duplicate code got added during manual merging.
>
> Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
> ---
>  drivers/scsi/be2iscsi/be_main.c | 8 --------
>  1 file changed, 8 deletions(-)
>
> diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
> index 1b5a07f..c6af6e5 100644
> --- a/drivers/scsi/be2iscsi/be_main.c
> +++ b/drivers/scsi/be2iscsi/be_main.c
> @@ -3859,14 +3859,6 @@ static int hwi_init_port(struct beiscsi_hba *phba)
>  					phwi_ctrlr->wrb_context[cri].cid] =
>  					async_arr_idx++;
>  			}
> -			/**
> -			 * Now that the default PDU rings have been created,
> -			 * let EP know about it.
> -			 */
> -			beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_HDR,
> -						 ulp_num);
> -			beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_DATA,
> -						 ulp_num);
>  		}
>  	}
>
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
diff mbox

Patch

diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 1b5a07f..c6af6e5 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3859,14 +3859,6 @@  static int hwi_init_port(struct beiscsi_hba *phba)
 					phwi_ctrlr->wrb_context[cri].cid] =
 					async_arr_idx++;
 			}
-			/**
-			 * Now that the default PDU rings have been created,
-			 * let EP know about it.
-			 */
-			beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_HDR,
-						 ulp_num);
-			beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_DATA,
-						 ulp_num);
 		}
 	}