[PATCH] mbcache: Remove unused mb_cache_shrink parameter
The cache parameter to mb_cache_shrink isn't used. We may as well remove it. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3dcce8e22b
commit
8c52ab42c1
@@ -316,11 +316,10 @@ fail:
|
||||
* currently in use cannot be freed, and thus remain in the cache. All others
|
||||
* are freed.
|
||||
*
|
||||
* @cache: which cache to shrink
|
||||
* @bdev: which device's cache entries to shrink
|
||||
*/
|
||||
void
|
||||
mb_cache_shrink(struct mb_cache *cache, struct block_device *bdev)
|
||||
mb_cache_shrink(struct block_device *bdev)
|
||||
{
|
||||
LIST_HEAD(free_list);
|
||||
struct list_head *l, *ltmp;
|
||||
|
Reference in New Issue
Block a user