]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: cleanup rx statistics
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Nov 2009 06:07:09 +0000 (06:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:53:02 +0000 (15:53 -0800)
commit36460f3ffe763252aaf97ff94b3f85b1ac0fc47c
tree8a4da00850ff4e153aead21baab749f8d5994497
parent17b75cd9f6cc806974ac487202c37b261964c79c
macvlan: cleanup rx statistics

We have very similar code for rx statistics in
two places in the macvlan driver, with a third
one being added in the next patch.

Consolidate them into one function to improve
overall readability of the driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c