Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98cddbfb authored by Tony Breeds's avatar Tony Breeds Committed by Paul Mackerras
Browse files

[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: default avatarTony Breeds <tony@bakeyournoodle.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent a99d9a6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -618,9 +618,9 @@ static int pmacpic_find_viaint(void)
	if (np == NULL)
		goto not_found;
	viaint = irq_of_parse_and_map(np, 0);;
#endif /* CONFIG_ADB_PMU */

not_found:
#endif /* CONFIG_ADB_PMU */
	return viaint;
}