useless function removed

This commit is contained in:
antirez
2011-03-08 15:10:20 +01:00
parent c5b6f46132
commit e09b51869b
2 changed files with 2 additions and 7 deletions

View File

@ -240,13 +240,6 @@ int cacheFreeOneEntry(void) {
return REDIS_OK;
}
/* Return true if it's safe to swap out objects in a given moment.
* Basically we don't want to swap objects out while there is a BGSAVE
* or a BGAEOREWRITE running in backgroud. */
int dsCanTouchDiskStore(void) {
return (server.bgsavechildpid == -1 && server.bgrewritechildpid == -1);
}
/* ==================== Disk store negative caching ========================
*
* When disk store is enabled, we need negative caching, that is, to remember