提交 2befb9e3 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] include/linux/blkdev.h: "extern inline" -> "static inline"

"extern inline" doesn't make much sense.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 e2afe674
...@@ -728,7 +728,7 @@ static inline unsigned int blksize_bits(unsigned int size) ...@@ -728,7 +728,7 @@ static inline unsigned int blksize_bits(unsigned int size)
return bits; return bits;
} }
extern inline unsigned int block_size(struct block_device *bdev) static inline unsigned int block_size(struct block_device *bdev)
{ {
return bdev->bd_block_size; return bdev->bd_block_size;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册