]> code.ossystems Code Review - meta-freescale.git/blob
9ff4d361a92fba0559be543e9e23b7c79eaf0738
[meta-freescale.git] /
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