scsi: target: iblock: Fold iblock_emulate_read_cap_with_block_size() into iblock_get_...
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 08:22:25 +0000 (10:22 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Oct 2022 09:51:47 +0000 (05:51 -0400)
commitf915f58e382e907e2be0b2f5472617dc13f2c390
tree632e89e3997735cb4be10f5dfbbeaa948a693c46
parent3ddeabd1536a71abf2b66a577c90df84514a0af2
scsi: target: iblock: Fold iblock_emulate_read_cap_with_block_size() into iblock_get_blocks()

Fold iblock_emulate_read_cap_with_block_size() into its only caller.

Link: https://lore.kernel.org/r/20220927082225.271975-1-hch@lst.de
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_iblock.c