]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc17453cc7dc549858f2f6ce32dcd7445b0bc35b
tree0bc1b2927432133981527ea9c1c0820d731c8618
parent3a9527121a36d10e81fe39475a76144099c51db0
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