diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-04-29 23:53:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-04-29 23:53:41 -0700 |
| commit | 411973b4db28fa3b2a97f44aa4897efe173a0b06 (patch) | |
| tree | 67c54923e89721208997dae7588a50e5a50be79a /fs | |
| parent | 8dcf47bd871737b9694a2943d5068563e4c3a49f (diff) | |
[PATCH] remove show_buffers()
Remove show_buffers(). It really has nothing to show any more. just
buffermem_pages() - move that out into the callers.
There's a lot of duplication in this code. better approach would be to
remove all the duplicated code out in the architectures and implement
generic show_memory_state(). Later.
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/buffer.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index fc575fd54f01..5c19537b12e5 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -2164,14 +2164,6 @@ int try_to_free_buffers(struct page *page) } EXPORT_SYMBOL(try_to_free_buffers); -/* ================== Debugging =================== */ - -void show_buffers(void) -{ - printk("Buffer memory: %6dkB\n", - atomic_read(&buffermem_pages) << (PAGE_SHIFT-10)); -} - int block_sync_page(struct page *page) { run_task_queue(&tq_disk); |
