diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-04 05:30:18 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-03-04 05:30:18 -0500 |
commit | 448da4d262b5db90817ce853726ff4d9b0c2bf48 (patch) | |
tree | 01fecb0f9a1d89eb6c418320d3124d2ff92fae83 /block | |
parent | 68d95b585f1b67b3c89ce0eb934e221ebeeb5c61 (diff) |
block: remove extern on function definition
Intoduced between 2.6.25-rc2 and -rc3
block/blk-settings.c:319:12: warning: function 'blk_queue_dma_drain' with external linkage has definition
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index 18fab5193d81..1344a0ea5cc6 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c | |||
@@ -332,7 +332,7 @@ EXPORT_SYMBOL(blk_queue_dma_pad); | |||
332 | * device can support otherwise there won't be room for the drain | 332 | * device can support otherwise there won't be room for the drain |
333 | * buffer. | 333 | * buffer. |
334 | */ | 334 | */ |
335 | extern int blk_queue_dma_drain(struct request_queue *q, | 335 | int blk_queue_dma_drain(struct request_queue *q, |
336 | dma_drain_needed_fn *dma_drain_needed, | 336 | dma_drain_needed_fn *dma_drain_needed, |
337 | void *buf, unsigned int size) | 337 | void *buf, unsigned int size) |
338 | { | 338 | { |