bnx2: Remove the rx_offset field from the bnx2 structure.
authorBenjamin Li <benli@broadcom.com>
Sat, 17 May 2008 05:18:57 +0000 (22:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2008 05:18:57 +0000 (22:18 -0700)
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>

No differences found