Skip to content

Commit

Permalink
Merge pull request moby#16443 from coolljt0725/simplify_volume_code
Browse files Browse the repository at this point in the history
Cleanup: remove unnecessary return at the end of block in volume.go
  • Loading branch information
cpuguy83 committed Sep 21, 2015
2 parents 4a6e8c8 + 5746eb9 commit 743dc1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions daemon/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 743dc1c

Please sign in to comment.