Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 18c16c69 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Jeff Garzik
Browse files

[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: default avatarChuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent d2ae1d2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment