projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc5e3f1
)
hwrng: omap - remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:15:36 +0000
(17:15 +0900)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:58:16 +0000
(21:58 +0800)
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/omap-rng.c
b/drivers/char/hw_random/omap-rng.c
index 9b89ff4881de7cdfe49e607e33c5ed0788f0be58..f66ea258382f36f94b0964a79886023f3dc84c97 100644
(file)
--- a/
drivers/char/hw_random/omap-rng.c
+++ b/
drivers/char/hw_random/omap-rng.c
@@
-369,10
+369,8
@@
static int omap_rng_probe(struct platform_device *pdev)
int ret;
priv = devm_kzalloc(dev, sizeof(struct omap_rng_dev), GFP_KERNEL);
- if (!priv) {
- dev_err(&pdev->dev, "could not allocate memory\n");
+ if (!priv)
return -ENOMEM;
- };
omap_rng_ops.priv = (unsigned long)priv;
platform_set_drvdata(pdev, priv);