commit | fd83240a60ecc59849420df3393e9e6d35c77683 | [log] [tgz] |
---|---|---|
author | Stephen Rothwell <sfr@canb.auug.org.au> | Thu Jan 12 09:17:30 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jan 12 09:19:54 2012 +0100 |
tree | d85ae1c6459d5d5c01db1617011db403929578b4 | |
parent | 0b4156eb27214e81f7012458bb15d1e038db9a00 [diff] |
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 <sfr@canb.auug.org.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>