[SCSI] be2iscsi: Remove unused OFFSET_IN_PAGE() macro
authorRoland Dreier <roland@purestorage.com>
Thu, 1 Mar 2012 06:41:49 +0000 (22:41 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 23 Apr 2012 18:28:02 +0000 (19:28 +0100)
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>
drivers/scsi/be2iscsi/be.h

index 1d7b976c850f31f434fcac68a7fd601de1ddeb32..a50b6a9030e88acaabc85aae89d2fd1df1e4c146 100644 (file)
@@ -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)