tg3: Remove tp->rx_offset term when unneeded
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 31 Aug 2011 11:44:49 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:56:39 +0000 (15:56 -0400)
commit81389f57150ca84c9517a6ab2338f57badef4219
tree96b3dfbbc953757b0d3b5cb6e0347cf92c1fd5a6
parent7f23073515c83e8a7261462329b6f26f211126d7
tg3: Remove tp->rx_offset term when unneeded

This patch removes the tp->rx_offset term if NET_IP_ALIGN is defined to
zero.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c