diff options
author | Peter Osterlund <petero2@telia.com> | 2006-01-14 16:21:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 21:27:16 -0500 |
commit | ac893963030ad70e528dc23270d499d650546a38 (patch) | |
tree | 11ca9e97eb4c7fef47076a40723341e491bba11e /drivers | |
parent | f16623569e2ec055b489462315f5296f153d119b (diff) |
[PATCH] pktcdvd: un-inline some functions
Un-inline two functions in the pktcdvd driver. This makes the compiled code
172 bytes smaller on my system.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/pktcdvd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 51b7a5c5b77a..93affeeef7bd 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -247,7 +247,7 @@ static inline struct pkt_rb_node *pkt_rbtree_next(struct pkt_rb_node *node) | |||
247 | return rb_entry(n, struct pkt_rb_node, rb_node); | 247 | return rb_entry(n, struct pkt_rb_node, rb_node); |
248 | } | 248 | } |
249 | 249 | ||
250 | static inline void pkt_rbtree_erase(struct pktcdvd_device *pd, struct pkt_rb_node *node) | 250 | static void pkt_rbtree_erase(struct pktcdvd_device *pd, struct pkt_rb_node *node) |
251 | { | 251 | { |
252 | rb_erase(&node->rb_node, &pd->bio_queue); | 252 | rb_erase(&node->rb_node, &pd->bio_queue); |
253 | mempool_free(node, pd->rb_pool); | 253 | mempool_free(node, pd->rb_pool); |
@@ -315,7 +315,7 @@ static void pkt_rbtree_insert(struct pktcdvd_device *pd, struct pkt_rb_node *nod | |||
315 | /* | 315 | /* |
316 | * Add a bio to a single linked list defined by its head and tail pointers. | 316 | * Add a bio to a single linked list defined by its head and tail pointers. |
317 | */ | 317 | */ |
318 | static inline void pkt_add_list_last(struct bio *bio, struct bio **list_head, struct bio **list_tail) | 318 | static void pkt_add_list_last(struct bio *bio, struct bio **list_head, struct bio **list_tail) |
319 | { | 319 | { |
320 | bio->bi_next = NULL; | 320 | bio->bi_next = NULL; |
321 | if (*list_tail) { | 321 | if (*list_tail) { |