mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user