mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
crypto: ux500 - Delete an error message for a failed memory allocation in ux500_cryp_probe()
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 <elfring@users.sourceforge.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
333e18c5cc
commit
dbbd5d1eff
|
|
@ -1416,7 +1416,6 @@ static int ux500_cryp_probe(struct platform_device *pdev)
|
||||||
dev_dbg(dev, "[%s]", __func__);
|
dev_dbg(dev, "[%s]", __func__);
|
||||||
device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC);
|
device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC);
|
||||||
if (!device_data) {
|
if (!device_data) {
|
||||||
dev_err(dev, "[%s]: kzalloc() failed!", __func__);
|
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user