OSDN Git Service

crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 13 Sep 2019 09:04:40 +0000 (11:04 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Sep 2019 12:53:09 +0000 (22:53 +1000)
commit212ef6f29e5b82bfd0ff595347fa1643326589a0
tree03dca400af28be48db07229465b1806bf3e1773d
parent5fc194ea6d34dfad9833d3043ce41d6c52aff39a
crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n

This patch fixes an unused variable warning from the compiler when the
driver is being compiled without PCI support in the kernel.

Fixes: 625f269a5a7a ("crypto: inside-secure - add support for...")
Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c