diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-01-12 12:17:30 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-01-12 12:19:54 +0400 |
commit | fd83240a60ecc59849420df3393e9e6d35c77683 (patch) | |
tree | d85ae1c6459d5d5c01db1617011db403929578b4 /block/elevator.c | |
parent | 0b4156eb27214e81f7012458bb15d1e038db9a00 (diff) | |
download | linux-fd83240a60ecc59849420df3393e9e6d35c77683.tar.xz |
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>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions