mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Cleanup: remove unnecessary return at the end of block in volumes.go
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
4133401bf9
commit
5746eb9501
1 changed files with 0 additions and 2 deletions
|
@ -210,7 +210,6 @@ func (s *volumeStore) Increment(v volume.Volume) {
|
|||
return
|
||||
}
|
||||
vc.count++
|
||||
return
|
||||
}
|
||||
|
||||
// Decrement decrements the usage count of the passed in volume by 1
|
||||
|
@ -224,7 +223,6 @@ func (s *volumeStore) Decrement(v volume.Volume) {
|
|||
return
|
||||
}
|
||||
vc.count--
|
||||
return
|
||||
}
|
||||
|
||||
// Count returns the usage count of the passed in volume
|
||||
|
|
Loading…
Reference in a new issue