From: Stephen Rothwell Date: Thu, 12 Jan 2012 08:17:30 +0000 (+0100) Subject: blockdev: convert some macros to static inlines X-Git-Tag: sz_174~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c912c83c542e8490123ab61e01185afbb12ef18e;p=pandora-kernel.git blockdev: convert some macros to static inlines We prefer to program in C rather than preprocessor and it fixes this warning when CONFIG_BLK_DEV_INTEGRITY is not set: drivers/md/dm-table.c: In function 'dm_table_set_integrity': drivers/md/dm-table.c:1285:3: warning: statement with no effect [-Wunused-value] Signed-off-by: Stephen Rothwell Signed-off-by: Jens Axboe --- Reading git-diff-tree failed