projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333e18c
)
crypto: ux500 - Delete an error message for a failed memory allocation in ux500_cryp_...
author
Markus Elfring
<
[email protected]
>
Wed, 14 Feb 2018 09:12:38 +0000
(10:12 +0100)
committer
Herbert Xu
<
[email protected]
>
Thu, 22 Feb 2018 14:16:33 +0000
(22:16 +0800)
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
drivers/crypto/ux500/cryp/cryp_core.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/ux500/cryp/cryp_core.c
b/drivers/crypto/ux500/cryp/cryp_core.c
index 765f53e548ab63eec92752ab90dd94f03eec41f5..50bfc7b4c641d0842416d1109a94145fedf6b667 100644
(file)
--- a/
drivers/crypto/ux500/cryp/cryp_core.c
+++ b/
drivers/crypto/ux500/cryp/cryp_core.c
@@
-1416,7
+1416,6
@@
static int ux500_cryp_probe(struct platform_device *pdev)
dev_dbg(dev, "[%s]", __func__);
device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC);
if (!device_data) {
- dev_err(dev, "[%s]: kzalloc() failed!", __func__);
ret = -ENOMEM;
goto out;
}