Apply suggestions from code review

Co-authored-by: Martin Troiber <34752929+troibe@users.noreply.github.com>
This commit is contained in:
Jaewon Lee 2024-07-20 11:20:27 -04:00 committed by GitHub
parent c3e657f201
commit 90b4a16c9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -408,7 +408,6 @@ public:
// reserve IO space, startup space, and local mem area
int virtual_mem_reserve(uint64_t dev_addr, uint64_t size, int flags)
{
// uint64_t asize = aligned_size(size, MEM_PAGE_SIZE);
CHECK_ERR(virtual_mem_->reserve(dev_addr, size), {
return err;
});