mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
chore: remove repetitive words in comments
Signed-off-by: dongjinlong <dongjinlong@outlook.com>
This commit is contained in:
@@ -194,7 +194,7 @@ func (r *Registry) newQueueLocked(ctx context.Context, key ipc.Key, creds *auth.
|
||||
|
||||
// Remove removes the queue with specified ID. All waiters (readers and
|
||||
// writers) and writers will be awakened and fail. Remove will return an error
|
||||
// if the ID is invalid, or the the user doesn't have privileges.
|
||||
// if the ID is invalid, or the user doesn't have privileges.
|
||||
func (r *Registry) Remove(id ipc.ID, creds *auth.Credentials) error {
|
||||
r.mu.Lock()
|
||||
defer r.mu.Unlock()
|
||||
@@ -491,7 +491,7 @@ func (q *Queue) msgOfType(mType int64, except bool) *Message {
|
||||
return nil
|
||||
}
|
||||
|
||||
// msgOfTypeLessThan return the the first message with the lowest type less
|
||||
// msgOfTypeLessThan return the first message with the lowest type less
|
||||
// than or equal to mType, nil if no such message exists.
|
||||
//
|
||||
// Precondition: caller must hold q.mu.
|
||||
|
||||
Reference in New Issue
Block a user