diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-11-16 09:21:48 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-11-16 09:21:48 +0100 |
commit | 0c614e2d3e6ee6ff13c6181f380787cea1d82d1d (patch) | |
tree | a616d7b48965c661fd5731d625a74bddde78f623 /include/linux/res_counter.h | |
parent | 3bb9068278ea524581237abadd41377a14717e7d (diff) | |
download | linux-0c614e2d3e6ee6ff13c6181f380787cea1d82d1d.tar.gz linux-0c614e2d3e6ee6ff13c6181f380787cea1d82d1d.tar.bz2 linux-0c614e2d3e6ee6ff13c6181f380787cea1d82d1d.zip |
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/res_counter.h')
0 files changed, 0 insertions, 0 deletions