diff --git a/reactos/lib/drivers/sound/soundblaster/dsp_io.c b/reactos/lib/drivers/sound/soundblaster/dsp_io.c index e45d613c0e9..320efc1cab0 100644 --- a/reactos/lib/drivers/sound/soundblaster/dsp_io.c +++ b/reactos/lib/drivers/sound/soundblaster/dsp_io.c @@ -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 */ diff --git a/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild b/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild index 7012724c7f5..ab64c8c3588 100644 --- a/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild +++ b/reactos/lib/drivers/sound/soundblaster/soundblaster.rbuild @@ -1,6 +1,6 @@ - + .