From: Grant Coady In file included from kernel/sched.c:39: include/linux/blkdev.h:928: error: redefinition of 'blk_replug_current_nested' include/linux/blkdev.h:907: error: previous definition of 'blk_replug_current_nested' was here include/linux/blkdev.h:932: error: redefinition of 'blk_plug_current' include/linux/blkdev.h:911: error: previous definition of 'blk_plug_current' was here include/linux/blkdev.h:936: error: redefinition of 'blk_unplug_current' include/linux/blkdev.h:915: error: previous definition of 'blk_unplug_current' was here include/linux/blkdev.h:940: error: redefinition of 'blk_unplug_current_nested' include/linux/blkdev.h:919: error: previous definition of 'blk_unplug_current_nested' was here include/linux/blkdev.h:945: error: redefinition of 'blk_plug_current_nested' include/linux/blkdev.h:924: error: previous definition of 'blk_plug_current_nested' was here make[1]: *** [kernel/sched.o] Error 1 make: *** [kernel] Error 2 Signed-off-by: Grant Coady Cc: Jens Axboe Signed-off-by: Andrew Morton --- include/linux/blkdev.h | 21 --------------------- 1 file changed, 21 deletions(-) diff -puN include/linux/blkdev.h~git-block-dupe-definitions include/linux/blkdev.h --- a/include/linux/blkdev.h~git-block-dupe-definitions +++ a/include/linux/blkdev.h @@ -923,27 +923,6 @@ static inline void blk_plug_current_nest { } -static inline void blk_replug_current_nested(void) -{ -} - -static inline void blk_plug_current(void) -{ -} - -static inline void blk_unplug_current(void) -{ -} - -static inline int blk_unplug_current_nested(void) -{ - return 0; -} - -static inline void blk_plug_current_nested(int depth) -{ -} - #endif /* CONFIG_BLOCK */ #endif _