Author: sginsberg
Date: Sat Aug 8 16:41:50 2009
New Revision: 42516
URL:
http://svn.reactos.org/svn/reactos?rev=42516&view=rev
Log:
- Silence a soundblaster warning on release build
Modified:
trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c
trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild
Modified: trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/dsp_io.c [iso-8859-1] Sat Aug 8 16:41:50
2009
@@ -25,11 +25,10 @@
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 */
Modified: trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/soundbla…
==============================================================================
--- trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild [iso-8859-1]
(original)
+++ trunk/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild [iso-8859-1] Sat Aug
8 16:41:50 2009
@@ -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>