diff options
author | Roland Dreier <roland@purestorage.com> | 2012-02-29 22:41:49 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-23 19:28:02 +0100 |
commit | 8643b32f275466f0b706e829150b7db49c11419c (patch) | |
tree | deb17d7ffbe5a8dc3ceba87e1cd174b913ba9eec /drivers | |
parent | be4a07a0e7c468659e13ed8ed0b90ea6fd71e6c0 (diff) | |
download | linux-8643b32f275466f0b706e829150b7db49c11419c.tar.bz2 |
[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')
-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 1d7b976c850f..a50b6a9030e8 100644 --- a/drivers/scsi/be2iscsi/be.h +++ b/drivers/scsi/be2iscsi/be.h @@ -132,10 +132,6 @@ struct be_ctrl_info { ((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \ (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K)) -/* Byte offset into the page corresponding to given address */ -#define OFFSET_IN_PAGE(addr) \ - ((size_t)(addr) & (PAGE_SIZE_4K-1)) - /* Returns bit offset within a DWORD of a bitfield */ #define AMAP_BIT_OFFSET(_struct, field) \ (((size_t)&(((_struct *)0)->field))%32) |