projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d24d1f
)
clocksource: em_sti: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 22 May 2014 12:05:06 +0000
(14:05 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Fri, 23 May 2014 07:23:10 +0000
(09:23 +0200)
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: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/em_sti.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clocksource/em_sti.c
b/drivers/clocksource/em_sti.c
index 9d170834fcf3559a318becf709d34618505b1de7..d0a7bd66b8b91e0eb9aa4f7092ec42869a9067d8 100644
(file)
--- a/
drivers/clocksource/em_sti.c
+++ b/
drivers/clocksource/em_sti.c
@@
-318,10
+318,8
@@
static int em_sti_probe(struct platform_device *pdev)
int irq;
p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
- if (p == NULL) {
- dev_err(&pdev->dev, "failed to allocate driver data\n");
+ if (p == NULL)
return -ENOMEM;
- }
p->pdev = pdev;
platform_set_drvdata(pdev, p);