commit | af5d6f7ba5f99f8316473557240ae9acdd20a6bd | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Thu Oct 01 11:54:31 2020 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Wed Oct 07 07:56:20 2020 +0200 |
tree | bbf023ccec5d92e2d43962d04d2c4f7a0114addb | |
parent | 7b15336257ed5623cddefa8d33069777494c98e0 [diff] |
nvme-core: remove extra variable In nvme_validate_ns() the exra variable ctrl is used only twice. Using ns->ctrl directly still maintains the redability and original length of the lines in the code. Get rid of the extra variable ctrl & use ns->ctrl directly. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>