summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2010-04-09 17:00:56 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2010-04-09 17:00:56 +0000
commit0f6628ed289b8009ce583438b16c6eb454e649ba (patch)
tree019ac2e5c475a724305720eaef6a6a3a7e1bf453
parentd92eb7a47337785fb0fb0b8c44e2fe1d5aff911c (diff)
oopsie, misplaced {
-rw-r--r--sys/dev/pci/mpii.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 85d9f354271..a0cd00ef95d 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.14 2010/04/09 15:50:14 marco Exp $ */
+/* $OpenBSD: mpii.c,v 1.15 2010/04/09 17:00:55 marco Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
@@ -3433,11 +3433,8 @@ mpii_event_sas(struct mpii_softc *sc, struct mpii_msg_event_reply *enp)
break;
case MPII_EVENT_SAS_TOPO_PS_RC_MISSING:
if (!(dev = mpii_find_dev(sc,
- letoh16(pe->dev_handle)))) {
- printf("%s: nothing known about drive %#x\n",
- DEVNAME(sc));
+ letoh16(pe->dev_handle))))
break;
- }
mpii_remove_dev(sc, dev);
if (sc->sc_scsibus) {
SET(dev->flags, MPII_DF_DETACH);