summaryrefslogtreecommitdiff
path: root/drivers/net/sunbmac.c
diff options
context:
space:
mode:
authorBenjamin Li <benli@broadcom.com>2008-05-17 05:18:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-05-17 05:18:57 (GMT)
commitd89cb6af41559a601e9cfe081d34de07945b0d8b (patch)
treecf6aa02b5b014eb8d6bda336ec001472792fdca8 /drivers/net/sunbmac.c
parent6ff2da49c8a68320c2564006c94a492db58de5cd (diff)
downloadlinux-fsl-qoriq-d89cb6af41559a601e9cfe081d34de07945b0d8b.tar.xz
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/net/sunbmac.c')
0 files changed, 0 insertions, 0 deletions