diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-31 04:47:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-31 04:47:51 +0000 |
commit | 8bee3da782ae6c9453fd20b364f358f14e002a39 (patch) | |
tree | b69942541d510cd39b96b8abcddd1b7ef214e33c | |
parent | 4a9a1578beb07e49ccab159d6daa139143768dfa (diff) |
doubled error messages are silly
-rw-r--r-- | sys/dev/pci/if_em.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 4ee5c347645..ae60e392893 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.208 2009/05/25 10:17:55 sthen Exp $ */ +/* $OpenBSD: if_em.c,v 1.209 2009/05/31 04:47:50 deraadt Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include <dev/pci/if_em.h> @@ -293,11 +293,8 @@ em_attach(struct device *parent, struct device *self, void *aux) */ sc->hw.report_tx_early = 1; - if (em_allocate_pci_resources(sc)) { - printf("%s: Allocation of PCI resources failed\n", - sc->sc_dv.dv_xname); + if (em_allocate_pci_resources(sc)) goto err_pci; - } /* Initialize eeprom parameters */ em_init_eeprom_params(&sc->hw); |