From: Jitendra Bhivare Date: Tue, 13 Dec 2016 10:26:00 +0000 (+0530) Subject: scsi: be2iscsi: Remove redundant receive buffers posting X-Git-Tag: v4.14-rc1~1480^2~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7d98ca7fb476e9f9382445b3a2b973e6c0de3ab;p=platform%2Fkernel%2Flinux-rpi.git scsi: be2iscsi: Remove redundant receive buffers posting This duplicate code got added during manual merging. Signed-off-by: Jitendra Bhivare Reviewed-by: Hannes Reinecke Signed-off-by: Martin K. Petersen --- 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); } }