]> code.ossystems Code Review - meta-freescale.git/blob
a53705f9cb95c8a89237147b8d028b620b28a4c3
[meta-freescale.git] /
1 From a6dc52cbcda9b4dcb0fda3b780e7c89219388982 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 b13bf8c..cdd99b8 100644
13 --- a/crypto/engine/eng_cryptodev.c
14 +++ b/crypto/engine/eng_cryptodev.c
15 @@ -413,7 +413,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.3
27