Cleanup: remove unnecessary return at the end of block in volumes.go

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: 5746eb950130793a1833860b7bc03c2c8fa7b46f
Component: engine
This commit is contained in:
Lei Jitang
2015-09-21 04:32:37 -04:00
parent fe1da9c698
commit 7f1e77e56a
-2
View File
@@ -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