From 3344065cab6ce3b7b37882b63130d85811e0be3e Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 21 Jun 2020 22:34:32 +0200 Subject: [PATCH] Removed unnecessary code --- include/n2n_define.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/n2n_define.h b/include/n2n_define.h index 21b31ff..74fea21 100644 --- a/include/n2n_define.h +++ b/include/n2n_define.h @@ -43,12 +43,6 @@ #define IP4_MIN_SIZE 20 #define UDP_SIZE 8 -#if 0 -/* heap allocation for compression as per lzo example doc */ -#define HEAP_ALLOC(var,size) lzo_align_t __LZO_MMODEL var [ ((size) + (sizeof(lzo_align_t) - 1)) / sizeof(lzo_align_t) ] -static HEAP_ALLOC(wrkmem, LZO1X_1_MEM_COMPRESS); -#endif - /* N2N compression indicators. */ /* Compression is disabled by default for outgoing packets if no cli * option is given. All edges are built with decompression support so