be2net: Remove unused OFFSET_IN_PAGE() macro
authorRoland Dreier <roland@purestorage.com>
Wed, 29 Feb 2012 20:40:46 +0000 (20:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2012 22:21:49 +0000 (17:21 -0500)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h

index c357172..ab24e46 100644 (file)
@@ -442,10 +442,6 @@ extern const struct ethtool_ops be_ethtool_ops;
                ((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)