summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-04 09:17:41 -0700
committerJens Axboe <axboe@kernel.dk>2019-12-04 09:17:41 -0700
commitbca1c43cb2dbe4212aea0793bfd91aeb4c2d184d (patch)
treea4cd5ab0115462b6a6325c3676968fd9689f6387 /tools/hv
parentf1acbf2186dfe761a05ce35c0f36246caed44403 (diff)
downloadlinux-bca1c43cb2dbe4212aea0793bfd91aeb4c2d184d.tar.bz2
null_blk: remove unused variable warning on !CONFIG_BLK_DEV_ZONED
If BLK_DEV_ZONED isn't set, 'ret' isn't used. This makes gcc complain, rightfully. Move ret where it is used. Fixes: 979d54475e0b ("null_blk: cleanup null_gendisk_register") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions