summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 01:28:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 01:28:04 +0000
commit6f9c0a3553574a750c11173a2c448fdaba31e5a7 (patch)
tree2f31832008d7cda6ffa91869fe3d5f5a190601e1 /sys/dev
parent48e6f349fbd66acd8f5d68f394fe7cc9a2e72eab (diff)
kill unnecessary printf before a panic
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_ne_pci.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/if_ne_pci.c b/sys/dev/pci/if_ne_pci.c
index 1e925c63aa7..d92304435d1 100644
--- a/sys/dev/pci/if_ne_pci.c
+++ b/sys/dev/pci/if_ne_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ne_pci.c,v 1.3 1998/11/06 06:32:15 fgsch Exp $ */
+/* $OpenBSD: if_ne_pci.c,v 1.4 1999/01/11 01:28:03 millert Exp $ */
/* $NetBSD: if_ne_pci.c,v 1.8 1998/07/05 00:51:24 jonathan Exp $ */
/*-
@@ -210,10 +210,8 @@ ne_pci_attach(parent, self, aux)
int *media, nmedia, defmedia;
npp = ne_pci_lookup(pa);
- if (npp == NULL) {
- printf("\n");
- panic("ne_pci_attach: impossible");
- }
+ if (npp == NULL)
+ panic("\nne_pci_attach: impossible");
printf(": %s Ethernet\n", npp->npp_name);