Use fc_bsg_jobdone() directly instead of the struct bsg_job::job_done()
callback.

Signed-off-by: Johannes Thumshirn <jthumsh...@suse.de>
---
 drivers/scsi/bfa/bfad_bsg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c
index 48366d8..25889b9 100644
--- a/drivers/scsi/bfa/bfad_bsg.c
+++ b/drivers/scsi/bfa/bfad_bsg.c
@@ -3180,7 +3180,7 @@ bfad_im_bsg_vendor_request(struct fc_bsg_job *job)
        bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len;
        bsg_reply->result = rc;
 
-       job->job_done(job);
+       fc_bsg_jobdone(job);
        return rc;
 error:
        /* free the command buffer */
@@ -3556,7 +3556,7 @@ out:
        bsg_reply->result = rc;
 
        if (rc == BFA_STATUS_OK)
-               job->job_done(job);
+               fc_bsg_jobdone(job);
 
        return rc;
 }
-- 
1.8.5.6

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to