bnx2: Refine statistics code.
authorMichael Chan <mchan@broadcom.com>
Sun, 17 Jan 2010 07:30:43 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jan 2010 03:16:02 +0000 (19:16 -0800)
commita47430583dab67b23161b0e75226781deed50138
tree4d079334ac56ff14aafdacf54c2be7f965163d12
parent2c8c1e7297e19bdef3c178c3ea41d898a7716e3e
bnx2: Refine statistics code.

Refine the statistics macros by passing in just the name of the
counter field.  This makes it a lot easier and cleaner to add
counters saved before the last reset in the next patch.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c