Commit e3c0df51 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] bio.c: make bio_destructor static

bio_destructor in fs/bio.c isn't used outside of this file, and after quickly
thinking about it I didn't find a reason why it should.

The patch below makes it static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7e03ad9a
......@@ -91,7 +91,7 @@ static inline struct bio_vec *bvec_alloc(int gfp_mask, int nr, unsigned long *id
/*
* default destructor for a bio allocated with bio_alloc()
*/
void bio_destructor(struct bio *bio)
static void bio_destructor(struct bio *bio)
{
const int pool_idx = BIO_POOL_IDX(bio);
struct biovec_pool *bp = bvec_array + pool_idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment