summaryrefslogtreecommitdiffstats
path: root/store/layered_store_hints.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-30 11:58:00 -0500
committerGitHub <noreply@github.com>2017-10-30 11:58:00 -0500
commit3cbacb6858ea2dda67719de64854ed30dea3b626 (patch)
tree8d0177242e65c809250fa73bd93faae26bd1ca10 /store/layered_store_hints.go
parentc5e8cb25caa39ed018ede5270e1566e8f7448396 (diff)
downloadchat-3cbacb6858ea2dda67719de64854ed30dea3b626.tar.gz
chat-3cbacb6858ea2dda67719de64854ed30dea3b626.tar.bz2
chat-3cbacb6858ea2dda67719de64854ed30dea3b626.zip
Remove unused variables / code (#7736)
* remove unused variables / code * fix bug in testPostStoreGetOldest
Diffstat (limited to 'store/layered_store_hints.go')
-rw-r--r--store/layered_store_hints.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/store/layered_store_hints.go b/store/layered_store_hints.go
index 064f4f326..066f0a2fa 100644
--- a/store/layered_store_hints.go
+++ b/store/layered_store_hints.go
@@ -18,14 +18,3 @@ func hintsContains(hints []LayeredStoreHint, contains LayeredStoreHint) bool {
}
return false
}
-
-func hintsContainsAny(hints []LayeredStoreHint, contains ...LayeredStoreHint) bool {
- for _, hint := range hints {
- for _, hint2 := range contains {
- if hint == hint2 {
- return true
- }
- }
- }
- return false
-}