From c5e8fc022f169c2fc25f6de7da70729145539efa Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 14 Jul 2000 05:30:48 +0000 Subject: [PATCH] sis_miibus_writereg() was checking for SIS_TYPE_900 and phy != 0 twice due to a small cut & paste-o on my part. It happens this didn't hurt anything, but it's still wrong. --- sys/pci/if_sis.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 9f7bb1e1ee45..a8c2e16a69b9 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -425,9 +425,6 @@ static int sis_miibus_writereg(dev, phy, reg, data) return(0); } - if (sc->sis_type == SIS_TYPE_900 && phy != 0) - return(0); - if (sc->sis_type == SIS_TYPE_900 && phy != 0) return(0);