[Midnightbsd-cvs] src [8310] trunk/sys/dev/sound/pci/emu10kx.c: remove legacy hack code
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Sep 17 18:30:47 EDT 2016
Revision: 8310
http://svnweb.midnightbsd.org/src/?rev=8310
Author: laffer1
Date: 2016-09-17 18:30:47 -0400 (Sat, 17 Sep 2016)
Log Message:
-----------
remove legacy hack code
Modified Paths:
--------------
trunk/sys/dev/sound/pci/emu10kx.c
Modified: trunk/sys/dev/sound/pci/emu10kx.c
===================================================================
--- trunk/sys/dev/sound/pci/emu10kx.c 2016-09-17 22:30:23 UTC (rev 8309)
+++ trunk/sys/dev/sound/pci/emu10kx.c 2016-09-17 22:30:47 UTC (rev 8310)
@@ -3050,11 +3050,6 @@
sc = device_get_softc(dev);
unit = device_get_unit(dev);
- if (resource_disabled("emu10kx", unit)) {
- device_printf(dev, "disabled by kernel hints\n");
- return (ENXIO); /* XXX to avoid unit reuse */
- }
-
/* Get configuration */
sc->ctx = device_get_sysctl_ctx(dev);
More information about the Midnightbsd-cvs
mailing list