We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 434ed23 commit c0932ddCopy full SHA for c0932dd
msgq/visionipc/visionbuf_ion.cc
@@ -76,8 +76,6 @@ void VisionBuf::allocate(size_t length) {
76
MAP_SHARED, ion_fd_data.fd, 0);
77
assert(mmap_addr != MAP_FAILED);
78
79
- memset(mmap_addr, 0, ion_alloc.len);
80
-
81
this->len = length;
82
this->mmap_len = ion_alloc.len;
83
this->addr = mmap_addr;
0 commit comments