Skip to content

Commit

Permalink
block: remove extern on function definition
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
hharrison authored and Jens Axboe committed Mar 4, 2008
1 parent 68d95b5 commit 448da4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ EXPORT_SYMBOL(blk_queue_dma_pad);
* device can support otherwise there won't be room for the drain
* buffer.
*/
extern int blk_queue_dma_drain(struct request_queue *q,
int blk_queue_dma_drain(struct request_queue *q,
dma_drain_needed_fn *dma_drain_needed,
void *buf, unsigned int size)
{
Expand Down

0 comments on commit 448da4d

Please sign in to comment.