diff options
author | Roland Dreier <roland@purestorage.com> | 2012-03-01 01:41:49 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-23 14:28:02 -0400 |
commit | 8643b32f275466f0b706e829150b7db49c11419c (patch) | |
tree | deb17d7ffbe5a8dc3ceba87e1cd174b913ba9eec /drivers/scsi | |
parent | be4a07a0e7c468659e13ed8ed0b90ea6fd71e6c0 (diff) |
[SCSI] be2iscsi: Remove unused OFFSET_IN_PAGE() macro
Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/be2iscsi/be.h b/drivers/scsi/be2iscsi/be.h index 1d7b976c850..a50b6a9030e 100644 --- a/drivers/scsi/be2iscsi/be.h +++ b/drivers/scsi/be2iscsi/be.h | |||
@@ -132,10 +132,6 @@ struct be_ctrl_info { | |||
132 | ((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \ | 132 | ((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \ |
133 | (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K)) | 133 | (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K)) |
134 | 134 | ||
135 | /* Byte offset into the page corresponding to given address */ | ||
136 | #define OFFSET_IN_PAGE(addr) \ | ||
137 | ((size_t)(addr) & (PAGE_SIZE_4K-1)) | ||
138 | |||
139 | /* Returns bit offset within a DWORD of a bitfield */ | 135 | /* Returns bit offset within a DWORD of a bitfield */ |
140 | #define AMAP_BIT_OFFSET(_struct, field) \ | 136 | #define AMAP_BIT_OFFSET(_struct, field) \ |
141 | (((size_t)&(((_struct *)0)->field))%32) | 137 | (((size_t)&(((_struct *)0)->field))%32) |