summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccree
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-01-25 00:01:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-25 13:11:33 +0100
commit1f43fb6d29279c29c994587e4b73ef0b9240daf7 (patch)
treeadf04078150e7c02d79d79472188534e33e08807 /drivers/staging/ccree
parent650655d3c8955aaeb220601e903dcfbcbf650d08 (diff)
downloadlinux-stable-1f43fb6d29279c29c994587e4b73ef0b9240daf7.tar.gz
linux-stable-1f43fb6d29279c29c994587e4b73ef0b9240daf7.tar.bz2
linux-stable-1f43fb6d29279c29c994587e4b73ef0b9240daf7.zip
staging: ccree: Fix missing blank line after declaration
Fix the following warning found by checkpatch.pl WARNING: Missing a blank line after declarations + struct cc_cipher_handle *blkcipher_handle = drvdata->blkcipher_handle; + if (blkcipher_handle) { Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree')
-rw-r--r--drivers/staging/ccree/cc_cipher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ccree/cc_cipher.c b/drivers/staging/ccree/cc_cipher.c
index 5c7e91f1cde7..d4ac0ff2ffcf 100644
--- a/drivers/staging/ccree/cc_cipher.c
+++ b/drivers/staging/ccree/cc_cipher.c
@@ -1094,6 +1094,7 @@ int cc_cipher_free(struct cc_drvdata *drvdata)
{
struct cc_crypto_alg *t_alg, *n;
struct cc_cipher_handle *blkcipher_handle = drvdata->blkcipher_handle;
+
if (blkcipher_handle) {
/* Remove registered algs */
list_for_each_entry_safe(t_alg, n,