From: Stephen Rothwell Date: Wed, 16 Nov 2011 08:21:48 +0000 (+0100) Subject: include/linux/bio.h: use a static inline function for bio_integrity_clone() X-Git-Tag: v3.2-rc3~39^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c614e2d3e6ee6ff13c6181f380787cea1d82d1d;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed