btrfs: scrub: introduce structure for new BTRFS_STRIPE_LEN based interface
[sfrench/cifs-2.6.git] / fs / btrfs / lru_cache.h
index de3e18bce24ae79e5f387096ae3af0d7ca95786d..00328c856be6ef20087735e1b4a760a10bc35f71 100644 (file)
@@ -55,11 +55,6 @@ static inline unsigned int btrfs_lru_cache_size(const struct btrfs_lru_cache *ca
        return cache->size;
 }
 
-static inline bool btrfs_lru_cache_is_full(const struct btrfs_lru_cache *cache)
-{
-       return cache->size >= cache->max_size;
-}
-
 static inline struct btrfs_lru_cache_entry *btrfs_lru_cache_lru_entry(
                                              struct btrfs_lru_cache *cache)
 {