diff options
author | Arne Schwabe | 2021-04-01 15:13:24 +0200 |
---|---|---|
committer | Gert Doering | 2021-04-01 15:37:30 +0200 |
commit | 137eb6705e57d3324fe45367419413e34a424976 (patch) | |
tree | ea758250a63c7d60fb0336b63934d3e881aaa498 /src/openvpn/mtu.h | |
parent | bdc11ae462d61f0cdee5f539c7f028f58513a914 (diff) | |
download | openvpn-137eb6705e57d3324fe45367419413e34a424976.zip openvpn-137eb6705e57d3324fe45367419413e34a424976.tar.gz |
Remove code for aligning non-swapped compression
This is an optimisation for memory alignment for lzo. Compression is
deprecated so this optimisation is not very important anymore.
Furthermore it is conditionally compiled on !defined(ENABLE_LZ4), which
makes the code not compiled in by default anyway.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210401131337.3684-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21946.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/mtu.h')
-rw-r--r-- | src/openvpn/mtu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openvpn/mtu.h b/src/openvpn/mtu.h index 0c8bdf8..92cbe18 100644 --- a/src/openvpn/mtu.h +++ b/src/openvpn/mtu.h @@ -301,12 +301,6 @@ frame_add_to_extra_buffer(struct frame *frame, const int increment) } static inline void -frame_add_to_align_adjust(struct frame *frame, const int increment) -{ - frame->align_adjust += increment; -} - -static inline void frame_align_to_extra_frame(struct frame *frame) { frame->align_adjust = frame->extra_frame + frame->extra_link; |