diff options
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 3 |
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; | |||
111 | /* How many Rx Buffers do we bundle into one write to the hardware ? */ | 111 | /* How many Rx Buffers do we bundle into one write to the hardware ? */ |
112 | #define IXGB_RX_BUFFER_WRITE 8 /* Must be power of 2 */ | 112 | #define IXGB_RX_BUFFER_WRITE 8 /* Must be power of 2 */ |
113 | 113 | ||
114 | /* only works for sizes that are powers of 2 */ | ||
115 | #define IXGB_ROUNDUP(i, size) ((i) = (((i) + (size) - 1) & ~((size) - 1))) | ||
116 | |||
117 | /* wrapper around a pointer to a socket buffer, | 114 | /* wrapper around a pointer to a socket buffer, |
118 | * so a DMA handle can be stored along with the buffer */ | 115 | * so a DMA handle can be stored along with the buffer */ |
119 | struct ixgb_buffer { | 116 | struct ixgb_buffer { |