- Silence a soundblaster warning on release build

svn path=/trunk/; revision=42516
This commit is contained in:
Stefan Ginsberg 2009-08-08 14:41:50 +00:00
parent c5045dd4e7
commit e8aa4b4280
2 changed files with 2 additions and 3 deletions

View file

@ -25,11 +25,10 @@ SbDspReset(
IN ULONG Timeout)
{
ULONG Expiry;
KIRQL CurrentIrqLevel = KeGetCurrentIrql();
BOOLEAN DataAvailable = FALSE;
/* Should be called from DriverEntry with this IRQL */
ASSERT(CurrentIrqLevel == PASSIVE_LEVEL);
ASSERT(KeGetCurrentIrql() == PASSIVE_LEVEL);
WRITE_SB_DSP_RESET(BasePort, 0x01);
SleepMs(50); /* Should be enough */

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="soundblaster" type="staticlibrary" allowwarnings="true">
<module name="soundblaster" type="staticlibrary">
<define name="__NTDRIVER__"/>
<define name="KERNEL"/>
<include base="soundblaster">.</include>