]> www.infradead.org Git - users/hch/block.git/commitdiff
block: remove BLK_SCSI_MAX_CMDS
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Jul 2021 06:37:56 +0000 (08:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Jul 2021 06:39:47 +0000 (08:39 +0200)
This was used for the table based scsi passthough permission checking
that is gone now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/blkdev.h

index 28957ccdd9c2ab4b1aae576d2bdf66636299d8b3..e0bb14acb708874d678c3d87040bf46db39148f9 100644 (file)
@@ -271,9 +271,6 @@ enum blk_queue_state {
 #define BLK_TAG_ALLOC_FIFO 0 /* allocate starting from 0 */
 #define BLK_TAG_ALLOC_RR 1 /* allocate starting from last allocated tag */
 
-#define BLK_SCSI_MAX_CMDS      (256)
-#define BLK_SCSI_CMD_PER_LONG  (BLK_SCSI_MAX_CMDS / (sizeof(long) * 8))
-
 /*
  * Zoned block device models (zoned limit).
  *