From ca854bf061412deee58d574aa7da2ec89ddbf86b Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 24 Apr 2014 15:38:25 +0000 Subject: [PATCH] no need to check for default_chip_map twice in one if statement --- sys/dev/pci/pciide.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index d5f9fbfd999..18cf49e2184 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.344 2014/04/24 04:11:17 jsg Exp $ */ +/* $OpenBSD: pciide.c,v 1.345 2014/04/24 15:38:25 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -1583,7 +1583,6 @@ pciide_activate(struct device *self, int act) sc->sc_pp->chip_map == phison_chip_map || sc->sc_pp->chip_map == ixp_chip_map || sc->sc_pp->chip_map == acard_chip_map || - sc->sc_pp->chip_map == default_chip_map || sc->sc_pp->chip_map == apollo_chip_map || sc->sc_pp->chip_map == sis_chip_map) { /* nothing to restore -- uses only 0x40 - 0x56 */ -- 2.20.1