Commit f653c34dd3d8bde2c918316fd5ba2e2c4f95afcf

Authored by Jens Axboe
Committed by Linus Torvalds
1 parent de7860c3f3

ll_rw_blk: fix gcc 4.2 warning on current_io_context()

current_io_context() is both static and exported with EXPORT_SYMBOL().
As there are no users outside of ll_rw_blk.c itself, just kill the
export.

Problem reported by Martin Michlmayr <tbm@cyrius.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -3802,7 +3802,6 @@
3802 3802  
3803 3803 return ret;
3804 3804 }
3805   -EXPORT_SYMBOL(current_io_context);
3806 3805  
3807 3806 /*
3808 3807 * If the current task has no IO context then create one and initialise it.