]> 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>
Fri, 7 Oct 2011 06:08:05 +0000 (17:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:32:47 +0000 (17:32 +1100)
commit7910f1ac8e7993ffc75b658c9b767d09b1f7df46
treee13a645267e28378855a2fe70da973a6ba2d9e48
parent9304fb4cff8eb70165959bdc43e2af8807deca64
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@google.com>
include/linux/bio.h