]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc112a8082146df352161e9600d6523e3fe656a4
tree4d079334ac56ff14aafdacf54c2be7f965163d12
parent6e715745e78003e90562877e850d57eaeddce981
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