summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-07-15 10:55:23 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-15 16:10:42 -0400
commitca0800a68ac7c7d75a2f93c30bc3f291450595b4 (patch)
treed09416d5e16387544089ecdf6203ee2aeae351f3 /drivers/scsi/sd.h
parent1f546823147693a054320d05d94f4515fb01748f (diff)
downloadlwn-ca0800a68ac7c7d75a2f93c30bc3f291450595b4.tar.gz
lwn-ca0800a68ac7c7d75a2f93c30bc3f291450595b4.zip
scsi: sd_zbc: Remove unused inline functions
These are no longer used and can be removed. Link: https://lore.kernel.org/r/20200715025523.34620-1-yuehaibing@huawei.com Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r--drivers/scsi/sd.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 3a74f4b45134..27c0f4e9b1d4 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -229,17 +229,11 @@ blk_status_t sd_zbc_prepare_zone_append(struct scsi_cmnd *cmd, sector_t *lba,
#else /* CONFIG_BLK_DEV_ZONED */
-static inline int sd_zbc_init(void)
-{
- return 0;
-}
-
static inline int sd_zbc_init_disk(struct scsi_disk *sdkp)
{
return 0;
}
-static inline void sd_zbc_exit(void) {}
static inline void sd_zbc_release_disk(struct scsi_disk *sdkp) {}
static inline int sd_zbc_read_zones(struct scsi_disk *sdkp,