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

clocksource/drivers/em_sti: Fix variable declaration in em_sti_probe

'irq' and 'ret' are variables of the same type and there is no
need to use two lines.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191221173027.30716-3-tiny.windzz@gmail.com

authored by

Yangtao Li and committed by
Daniel Lezcano
ba25322e 9a97b2fb

+1 -2
+1 -2
drivers/clocksource/em_sti.c
··· 279 279 static int em_sti_probe(struct platform_device *pdev) 280 280 { 281 281 struct em_sti_priv *p; 282 - int irq; 283 - int ret; 282 + int irq, ret; 284 283 285 284 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); 286 285 if (p == NULL)