2019-08-19 09:34:27

by Michał Lowas-Rzechonek

[permalink] [raw]
Subject: [PATCH BlueZ 1/4] mesh: Remove unused defines

---
mesh/crypto.c | 10 ----------
1 file changed, 10 deletions(-)

diff --git a/mesh/crypto.c b/mesh/crypto.c
index a6dc7ffe2..9862e5856 100644
--- a/mesh/crypto.c
+++ b/mesh/crypto.c
@@ -26,20 +26,10 @@
#include <sys/socket.h>
#include <ell/ell.h>

-#include <linux/if_alg.h>
-
#include "mesh/mesh-defs.h"
#include "mesh/net.h"
#include "mesh/crypto.h"

-#ifndef SOL_ALG
-#define SOL_ALG 279
-#endif
-
-#ifndef ALG_SET_AEAD_AUTHSIZE
-#define ALG_SET_AEAD_AUTHSIZE 5
-#endif
-
/* Multiply used Zero array */
static const uint8_t zero[16] = { 0, };

--
2.19.1