diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-01-25 00:01:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-25 13:11:33 +0100 |
commit | 1f43fb6d29279c29c994587e4b73ef0b9240daf7 (patch) | |
tree | adf04078150e7c02d79d79472188534e33e08807 /drivers/staging/ccree | |
parent | 650655d3c8955aaeb220601e903dcfbcbf650d08 (diff) | |
download | linux-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.c | 1 |
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, |