diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-07-27 11:45:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 16:26:07 -0700 |
commit | 8c52ab42c11b5a7fb44bb84c954d09968e90e9e7 (patch) | |
tree | ee2496abc8d0246db90ba43b3ea9d4ddebd7b62d /fs/mbcache.c | |
parent | 3dcce8e22bf9956ac2c5233539cac07c978e58c7 (diff) | |
download | linux-3.10-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.tar.gz linux-3.10-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.tar.bz2 linux-3.10-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.zip |
[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>
Diffstat (limited to 'fs/mbcache.c')
-rw-r--r-- | fs/mbcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/mbcache.c b/fs/mbcache.c index c7170b9221a..b002a088857 100644 --- a/fs/mbcache.c +++ b/fs/mbcache.c @@ -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; |