mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
[POWERPC] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU
When building arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU we get the following warnings: arch/powerpc/platforms/powermac/pic.c: In function 'pmacpic_find_viaint': arch/powerpc/platforms/powermac/pic.c:623: warning: label 'not_found' defined but not used This fixes it. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
a99d9a6ebd
commit
98cddbfb32
1 changed files with 1 additions and 1 deletions
|
@ -618,9 +618,9 @@ static int pmacpic_find_viaint(void)
|
||||||
if (np == NULL)
|
if (np == NULL)
|
||||||
goto not_found;
|
goto not_found;
|
||||||
viaint = irq_of_parse_and_map(np, 0);;
|
viaint = irq_of_parse_and_map(np, 0);;
|
||||||
#endif /* CONFIG_ADB_PMU */
|
|
||||||
|
|
||||||
not_found:
|
not_found:
|
||||||
|
#endif /* CONFIG_ADB_PMU */
|
||||||
return viaint;
|
return viaint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue