diff --git a/Kernel/Devices/Audio/SB16.cpp b/Kernel/Devices/Audio/SB16.cpp index 2d23118538..65036ccebf 100644 --- a/Kernel/Devices/Audio/SB16.cpp +++ b/Kernel/Devices/Audio/SB16.cpp @@ -252,9 +252,7 @@ ErrorOr SB16::write(size_t channel_index, UserOrKernelBuffer const& data dbgln_if(SB16_DEBUG, "SB16: Writing buffer of {} bytes", length); - VERIFY(length <= PAGE_SIZE); - int const BLOCK_SIZE = 32 * 1024; - if (length > BLOCK_SIZE) { + if (length > PAGE_SIZE) { return ENOSPC; }