From bcb02fd532ab511a91a538afb943497457c1f540 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 28 Oct 2005 02:17:40 +0000 Subject: [PATCH] Remove forgotten, no longer needed WB_UNLOCK() from the end wb_ioctl(). With this change, the driver tests good (at least on i386): wb0: port 0xb800-0xb87f mem 0xe6800000-0xe680007f irq 12 at device 10.0 on pci0 miibus1: on wb0 amphy0: on miibus1 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto wb0: Ethernet address: 00:00:e8:18:2a:02 wb0: link state changed to DOWN wb0: link state changed to UP --- sys/pci/if_wb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 01be2334881..65166677b34 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -1746,8 +1746,6 @@ wb_ioctl(ifp, command, data) break; } - WB_UNLOCK(sc); - return(error); }