diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-01-29 14:44:17 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-01-29 14:44:17 +0000 |
commit | 44bb8949a5c48ad92ac9e2d31ba670107659b51f (patch) | |
tree | c73bf42a202fa6813515d0562bc0a62e4296ddfe /sys/arch/macppc/pci | |
parent | eaa7459a6115e255ad5487f5e40a95c10670e35f (diff) |
Ansify and remove useless variable.
ok miod@
Diffstat (limited to 'sys/arch/macppc/pci')
-rw-r--r-- | sys/arch/macppc/pci/vgafb_pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/macppc/pci/vgafb_pci.c b/sys/arch/macppc/pci/vgafb_pci.c index d282481cb9a..590e9dabfe9 100644 --- a/sys/arch/macppc/pci/vgafb_pci.c +++ b/sys/arch/macppc/pci/vgafb_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb_pci.c,v 1.23 2012/01/29 14:20:42 mpi Exp $ */ +/* $OpenBSD: vgafb_pci.c,v 1.24 2012/01/29 14:44:16 mpi Exp $ */ /* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */ /* @@ -219,20 +219,15 @@ vgafb_pci_probe(struct pci_attach_args *pa, int id, u_int32_t *ioaddr, } int -vgafb_pci_match(parent, match, aux) - struct device *parent; - void *match; - void *aux; +vgafb_pci_match(struct device *parent, void *match, void *aux) { struct pci_attach_args *pa = aux; - static int id = 0; if (DEVICE_IS_VGA_PCI(pa->pa_class) == 0) return (0); /* If it's the console, we have a winner! */ if (!bcmp(&pa->pa_tag, &vgafb_pci_console_tag, sizeof(pa->pa_tag))) { - id++; return (1); } |