diff --git a/libcortex_a9/src/uncached.rs b/libcortex_a9/src/uncached.rs index 1ff962c..fc016b2 100644 --- a/libcortex_a9/src/uncached.rs +++ b/libcortex_a9/src/uncached.rs @@ -33,8 +33,6 @@ impl UncachedSlice { } let slice = unsafe { core::slice::from_raw_parts_mut(ptr, len) }; - // verify size - assert!(unsafe { slice.get_unchecked(len) } as *const _ as usize <= start + size); // initialize for e in slice.iter_mut() { *e = default();