scsi: fc: Use bsg_destroy_job
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 17 Nov 2016 09:31:20 +0000 (10:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Nov 2016 01:15:25 +0000 (20:15 -0500)
commitc00da4c90ffd066cdfe7f53ff3529c8ab4a35db0
treed2cf6b3db87f8379926d039c6786947318cf7407
parent75cc8cfc6e13d42d50c2bf4307d0a68c2a70f709
scsi: fc: Use bsg_destroy_job

fc_destroy_bsgjob() and bsg_destroy_job() are now 1:1 copies, so use the
latter. As bsg_destroy_job() comes from bsg-lib we need to select it in
Kconfig once CONFOG_SCSI_FC_ATTRS is active.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg-lib.c
drivers/scsi/Kconfig
drivers/scsi/scsi_transport_fc.c
include/linux/bsg-lib.h