1
0

scsi: fc: use bsg_job_done

fc_bsg_jobdone() and bsg_job_done() are 1:1 copies now so use the
bsg-lib one instead of the FC private implementation.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Acked-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Este cometimento está contido em:
Johannes Thumshirn
2016-11-17 10:31:22 +01:00
cometido por Martin K. Petersen
ascendente 6aa858cd33
cometimento 06548160df
8 ficheiros modificados com 51 adições e 88 eliminações

Ver ficheiro

@@ -3179,7 +3179,7 @@ bfad_im_bsg_vendor_request(struct bsg_job *job)
bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len;
bsg_reply->result = rc;
fc_bsg_jobdone(job, bsg_reply->result,
bsg_job_done(job, bsg_reply->result,
bsg_reply->reply_payload_rcv_len);
return rc;
error:
@@ -3555,7 +3555,7 @@ out:
bsg_reply->result = rc;
if (rc == BFA_STATUS_OK)
fc_bsg_jobdone(job, bsg_reply->result,
bsg_job_done(job, bsg_reply->result,
bsg_reply->reply_payload_rcv_len);
return rc;