diff options
author | Roland Dreier <roland@purestorage.com> | 2012-02-29 20:40:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-01 17:21:49 -0500 |
commit | 97767a87f3be8834192dc3fc9412aaccf708d87f (patch) | |
tree | e92cb03da066e9e038cc03e9456a46a250f92839 | |
parent | 9c4df53bc3f9c72d7f1f1226927f456d46412381 (diff) |
be2net: Remove unused OFFSET_IN_PAGE() macro
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index c357172d0543..ab24e4600695 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -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) |