runtime: remove use of obsolete map deletion syntax
The use of this syntax was eliminated upstream in Go 992248b2adc2, but this particular use slipped through somehow. From-SVN: r209506
This commit is contained in:
parent
e315e8a5b9
commit
e8ad3ca026
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
|
|||
if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
|
||||
return errno
|
||||
}
|
||||
m.active[p] = nil, false
|
||||
delete(m.active, p)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue