From: Yangtao Li Date: Sat, 21 Dec 2019 17:30:25 +0000 (+0000) Subject: clocksource/drivers/em_sti: Fix variable declaration in em_sti_probe X-Git-Tag: v5.10.7~3409^2~5^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba25322edd600300e55cd58eb7fbdf9cbdc5a82d;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20191221173027.30716-3-tiny.windzz@gmail.com --- diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c index 086fd5d..ab190df 100644 --- a/drivers/clocksource/em_sti.c +++ b/drivers/clocksource/em_sti.c @@ -279,8 +279,7 @@ static void em_sti_register_clockevent(struct em_sti_priv *p) static int em_sti_probe(struct platform_device *pdev) { struct em_sti_priv *p; - int irq; - int ret; + int irq, ret; p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); if (p == NULL)