]> err.no Git - linux-2.6/commit
[PATCH] loopback: optimize stats
authorChuck Ebbert <76306.1226@compuserve.com>
Sun, 3 Jul 2005 01:28:22 +0000 (21:28 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 31 Jul 2005 05:06:10 +0000 (01:06 -0400)
commit18c16c696e8b2323a306af455c686df15c717206
treea273c9fe65d970a10490b838f95e2d52e2193ed3
parentd2ae1d2ff9282ca061b6f5244eee4c28ee2b3ffa
[PATCH] loopback: optimize stats

This patch slightly optimizes the loopback driver's stats update.

Saves two loads, one add and one increment per packet sent.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/loopback.c