null_blk: Improve nullb_device_##NAME##_store() readability
authorBart Van Assche <bvanassche@acm.org>
Mon, 30 Sep 2019 23:00:46 +0000 (16:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Oct 2019 14:32:08 +0000 (08:32 -0600)
commite29158b4fff7b582643dc020343d52773aaef0c1
tree0bc1b2927432133981527ea9c1c0820d731c8618
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce
null_blk: Improve nullb_device_##NAME##_store() readability

Introduce a local variable to make the code easier to read. This patch
does not change any functionality but makes the next patch in this
series easier to read.

Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c