Jens Axboe bca1c43cb2 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>
2019-12-04 09:17:41 -07:00
..
2019-12-01 18:43:25 -08:00
2019-11-27 11:06:20 -08:00
2019-11-27 10:57:52 -08:00
2019-12-01 18:43:25 -08:00
2019-11-25 13:26:56 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-01 16:16:31 -08:00
2019-11-27 11:06:20 -08:00
2019-12-01 18:43:25 -08:00
2019-11-28 11:16:43 -08:00
2019-11-25 19:40:40 -08:00
2019-11-27 10:53:50 -08:00
2019-12-01 18:24:25 -08:00
2019-12-01 16:16:31 -08:00
2019-12-01 18:39:24 -08:00
2019-12-01 16:16:31 -08:00
2019-11-22 19:56:35 +00:00
2019-12-01 18:24:25 -08:00
2019-11-20 02:15:57 -05:00
2019-11-14 13:06:33 +08:00
2019-12-01 18:01:03 -08:00
2019-11-30 10:33:14 -08:00