diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-10-15 08:51:37 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-16 01:13:35 -0400 |
commit | 80b045b385cfef10939c913fbfeb19ce5491c1f2 (patch) | |
tree | 8eca41f4ab3e457d891e5d15a253e9f5948475fa /drivers/target/target_core_iblock.h | |
parent | 5e568d22fc7963a1cfe0d7d87c46c2ed6a934369 (diff) | |
download | linux-stable-80b045b385cfef10939c913fbfeb19ce5491c1f2.tar.gz linux-stable-80b045b385cfef10939c913fbfeb19ce5491c1f2.tar.bz2 linux-stable-80b045b385cfef10939c913fbfeb19ce5491c1f2.zip |
scsi: target/core: Use the SECTOR_SHIFT constant
Instead of duplicating the SECTOR_SHIFT definition from <linux/blkdev.h>,
use it. This patch does not change any functionality.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/target_core_iblock.h')
-rw-r--r-- | drivers/target/target_core_iblock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h index 9cc3843404d4..cefc641145b3 100644 --- a/drivers/target/target_core_iblock.h +++ b/drivers/target/target_core_iblock.h @@ -9,7 +9,6 @@ #define IBLOCK_VERSION "4.0" #define IBLOCK_MAX_CDBS 16 -#define IBLOCK_LBA_SHIFT 9 struct iblock_req { refcount_t pending; |