kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()
Functions don't need to be terminated by semicolons.
This commit is contained in:
parent
40dee76c57
commit
1913cf4783
@ -152,7 +152,7 @@ VMAPermission SharedMemory::ConvertPermissions(MemoryPermission permission) {
|
|||||||
u32 masked_permissions =
|
u32 masked_permissions =
|
||||||
static_cast<u32>(permission) & static_cast<u32>(MemoryPermission::ReadWriteExecute);
|
static_cast<u32>(permission) & static_cast<u32>(MemoryPermission::ReadWriteExecute);
|
||||||
return static_cast<VMAPermission>(masked_permissions);
|
return static_cast<VMAPermission>(masked_permissions);
|
||||||
};
|
}
|
||||||
|
|
||||||
u8* SharedMemory::GetPointer(u32 offset) {
|
u8* SharedMemory::GetPointer(u32 offset) {
|
||||||
return backing_block->data() + backing_block_offset + offset;
|
return backing_block->data() + backing_block_offset + offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user