aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorBenjamin Li <benli@broadcom.com>2008-05-17 01:18:57 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-17 01:18:57 -0400
commitd89cb6af41559a601e9cfe081d34de07945b0d8b (patch)
treecf6aa02b5b014eb8d6bda336ec001472792fdca8 /drivers/dma
parent6ff2da49c8a68320c2564006c94a492db58de5cd (diff)
bnx2: Remove the rx_offset field from the bnx2 structure.
The rx_offset field is set to a constant value and initialized only once. By replacing all references to the rx_offset field, we can eliminate rx_offset from the bnx2 structure. This will save 4 bytes for every bnx2 instance. [Added parentheses to the definition of BNX2_RX_OFFSET, as noted by Ben Hutchings.] Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions