author: Christophe JAILLET <christophe.jaillet@wanadoo.fr> 2020-04-09 12:12:26 +0200
committer: Daniel Lezcano <daniel.lezcano@linaro.org> 2020-04-09 12:13:20 +0200
commit: 4855f2bd91b6e3461af7d795bfe9a40420122131
parent: bdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/clocksource/timer-davinci.c b/drivers/clocksource/timer-davinci.c
index aae938368230..bb4eee31ae08 100644
--- a/drivers/clocksource/timer-davinci.c
+++ b/drivers/clocksource/timer-davinci.c
@@ -270,7 +270,7 @@ int __init davinci_timer_register(struct clk *clk,
davinci_timer_init(base);
tick_rate = clk_get_rate(clk);
- clockevent = kzalloc(sizeof(*clockevent), GFP_KERNEL | __GFP_NOFAIL);
+ clockevent = kzalloc(sizeof(*clockevent), GFP_KERNEL);
if (!clockevent)
return -ENOMEM;