Skip to content
Commit 971da9d0 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Jukka Rissanen
Browse files

net: pkt: adjust_offset: Simplify and optimize code



An edge condition was handled in a special way, even though the main
condition covered it well. More code, more jumps == slower code,
bigger binaries.

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent ae0f3d72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment