Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource: davinci: axe a pointless __GFP_NOFAIL

There is no need to specify __GFP_NOFAIL when allocating memory here, so
axe it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200409101226.15432-1-christophe.jaillet@wanadoo.fr

authored by

Christophe JAILLET and committed by
Daniel Lezcano
4855f2bd bdf8783c

+1 -1
+1 -1
drivers/clocksource/timer-davinci.c
··· 270 270 davinci_timer_init(base); 271 271 tick_rate = clk_get_rate(clk); 272 272 273 - clockevent = kzalloc(sizeof(*clockevent), GFP_KERNEL | __GFP_NOFAIL); 273 + clockevent = kzalloc(sizeof(*clockevent), GFP_KERNEL); 274 274 if (!clockevent) 275 275 return -ENOMEM; 276 276