Merge pull request #16443 from coolljt0725/simplify_volume_code

Cleanup: remove unnecessary return at the end of block in volume.go
Upstream-commit: 743dc1c791e5a78c881180fdad2fc3be19ad7c8d
Component: engine
This commit is contained in:
Brian Goff
2015-09-21 09:05:16 -04:00

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