]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/bio.h: use a static inline function for bio_integrity_clone()
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Nov 2011 00:20:08 +0000 (11:20 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Nov 2011 03:15:57 +0000 (14:15 +1100)
commitea86db265c41342f59d965f5d9e899c5eb9e9f14
treea80a98ca7cf1785e25f868a767de5fbfc0bc726d
parent41112486ab93dc02d71a4ff005c29ef5693efc45
include/linux/bio.h: use a static inline function for bio_integrity_clone()

When CONFIG_BLK_DEV_INTEGRITY is not set, we get these warnings:

drivers/md/dm.c: In function 'split_bvec':
drivers/md/dm.c:1061:3: warning: statement with no effect
drivers/md/dm.c: In function 'clone_bio':
drivers/md/dm.c:1088:3: warning: statement with no effect

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/bio.h