projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath10k: use bss_info as txpower source
[cascardo/linux.git]
/
crypto
/
cts.c
diff --git
a/crypto/cts.c
b/crypto/cts.c
index
ccf9c5d
..
042223f
100644
(file)
--- a/
crypto/cts.c
+++ b/
crypto/cts.c
@@
-282,9
+282,8
@@
static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb)
alg = crypto_attr_alg(tb[1], CRYPTO_ALG_TYPE_BLKCIPHER,
CRYPTO_ALG_TYPE_MASK);
- err = PTR_ERR(alg);
if (IS_ERR(alg))
- return ERR_
PTR(err
);
+ return ERR_
CAST(alg
);
inst = ERR_PTR(-EINVAL);
if (!is_power_of_2(alg->cra_blocksize))