summaryrefslogtreecommitdiff
path: root/drivers/staging/ccree/ssi_cipher.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-06-27 10:27:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-29 17:38:50 +0300
commit7331916cff9874ec1659d2d69e321e00b26e68e3 (patch)
tree92a1984ffe70dc9b4fcb5e58775486431917f4e6 /drivers/staging/ccree/ssi_cipher.c
parente7258b6a228bdb176ef6c00a01a322f8e8ea6e8a (diff)
downloadlinux-7331916cff9874ec1659d2d69e321e00b26e68e3.tar.xz
staging: ccree: drop comparsion to true/false
Fix cases in ccree where explicit comparsion to true/false was made. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_cipher.c')
-rw-r--r--drivers/staging/ccree/ssi_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ccree/ssi_cipher.c b/drivers/staging/ccree/ssi_cipher.c
index 519e04ef6e70..1dab3e6cabeb 100644
--- a/drivers/staging/ccree/ssi_cipher.c
+++ b/drivers/staging/ccree/ssi_cipher.c
@@ -839,7 +839,7 @@ static int ssi_blkcipher_process(
desc, &seq_len);
/* do we need to generate IV? */
- if (req_ctx->is_giv == true) {
+ if (req_ctx->is_giv) {
ssi_req.ivgen_dma_addr[0] = req_ctx->gen_ctx.iv_dma_addr;
ssi_req.ivgen_dma_addr_len = 1;
/* set the IV size (8/16 B long)*/