diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0032-cryptodev-hide-not-used-variable-behind-ifndef.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0032-cryptodev-hide-not-used-variable-behind-ifndef.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0032-cryptodev-hide-not-used-variable-behind-ifndef.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0032-cryptodev-hide-not-used-variable-behind-ifndef.patch new file mode 100644 index 0000000..9ff4d36 --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0032-cryptodev-hide-not-used-variable-behind-ifndef.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 335c80f847eacc573e10ba925b6a645963b16197 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Mon, 8 Feb 2016 17:22:49 +0200 | ||
4 | Subject: [PATCH 32/48] cryptodev: hide not used variable behind #ifndef | ||
5 | |||
6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
7 | --- | ||
8 | crypto/engine/eng_cryptodev.c | 2 ++ | ||
9 | 1 file changed, 2 insertions(+) | ||
10 | |||
11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | ||
12 | index 2734500..5a68c76 100644 | ||
13 | --- a/crypto/engine/eng_cryptodev.c | ||
14 | +++ b/crypto/engine/eng_cryptodev.c | ||
15 | @@ -412,7 +412,9 @@ static int open_dev_crypto(void) | ||
16 | static int get_dev_crypto(void) | ||
17 | { | ||
18 | static int fd = -1; | ||
19 | +# ifndef CRIOGET_NOT_NEEDED | ||
20 | int retfd; | ||
21 | +# endif | ||
22 | |||
23 | if (fd == -1) | ||
24 | fd = open_dev_crypto(); | ||
25 | -- | ||
26 | 2.7.0 | ||
27 | |||