From 7f1e77e56a8adf86bb4abe17ad5fdfec0f5a2401 Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Mon, 21 Sep 2015 04:32:37 -0400 Subject: [PATCH] Cleanup: remove unnecessary return at the end of block in volumes.go Signed-off-by: Lei Jitang Upstream-commit: 5746eb950130793a1833860b7bc03c2c8fa7b46f Component: engine --- components/engine/daemon/volumes.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/engine/daemon/volumes.go b/components/engine/daemon/volumes.go index 67c8157a38..0ace8d5d6c 100644 --- a/components/engine/daemon/volumes.go +++ b/components/engine/daemon/volumes.go @@ -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