From: Paul M. <le...@us...> - 2002-03-12 05:23:16
|
Update of /cvsroot/linux-mips/linux/arch/mips/vr41xx/vr4122/eagle In directory usw-pr-cvs1:/tmp/cvs-serv10280 Modified Files: pci_fixup.c Log Message: Fix empty breaks, nuke useless ifdef. Index: pci_fixup.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/vr41xx/vr4122/eagle/pci_fixup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pci_fixup.c 7 Mar 2002 03:16:54 -0000 1.1 +++ pci_fixup.c 12 Mar 2002 05:23:12 -0000 1.2 @@ -32,12 +32,13 @@ */ /* * Changes: + * Paul Mundt <le...@ch...> + * - Fix empty break statements, remove useless CONFIG_PCI. + * * MontaVista Software Inc. <yy...@mv...> or <so...@mv...> * - New creation, NEC Eagle is supported. */ #include <linux/config.h> - -#ifdef CONFIG_PCI #include <linux/init.h> #include <linux/pci.h> @@ -98,14 +99,14 @@ dev->irq = CP_INTA_IRQ; break; case 2: - break; dev->irq = CP_INTB_IRQ; - case 3: break; + case 3: dev->irq = CP_INTC_IRQ; - case 4: break; + case 4: dev->irq = CP_INTD_IRQ; + break; } break; #ifdef CONFIG_VRC4173 @@ -148,4 +149,3 @@ return 0; } -#endif |