summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb.h
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-04-27 22:55:31 +0200
committerJeff Garzik <jeff@garzik.org>2007-04-28 17:01:07 +0200
commit55e924cf5772cbcf00549e448be35b392ff3084c (patch)
tree088aeee07c810987ba32f24e9ee7ec2581106257 /drivers/net/ixgb/ixgb.h
parente1000: ROUND_UP macro cleanup in drivers/net/e1000 (diff)
downloadlinux-55e924cf5772cbcf00549e448be35b392ff3084c.tar.xz
linux-55e924cf5772cbcf00549e448be35b392ff3084c.zip
ixgb: ROUND_UP macro cleanup in drivers/net/ixgb
IXGB_ROUNDUP macro cleanup ,use ALIGN Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r--drivers/net/ixgb/ixgb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h
index cf30a1059ce0..c8e90861f869 100644
--- a/drivers/net/ixgb/ixgb.h
+++ b/drivers/net/ixgb/ixgb.h
@@ -111,9 +111,6 @@ struct ixgb_adapter;
/* How many Rx Buffers do we bundle into one write to the hardware ? */
#define IXGB_RX_BUFFER_WRITE 8 /* Must be power of 2 */
-/* only works for sizes that are powers of 2 */
-#define IXGB_ROUNDUP(i, size) ((i) = (((i) + (size) - 1) & ~((size) - 1)))
-
/* wrapper around a pointer to a socket buffer,
* so a DMA handle can be stored along with the buffer */
struct ixgb_buffer {