diff options
author | 2020-07-28 19:36:48 -0700 | |
---|---|---|
committer | 2020-07-29 07:46:28 +0200 | |
commit | b6cec06d19d90db5dbcc50034fb33983f6259b8b (patch) | |
tree | 4193e82a579b4c627ad5139f1b87258bd9d2e44d /net/unix/af_unix.c | |
parent | nvme-loop: set ctrl state connecting after init (diff) | |
download | linux-dev-b6cec06d19d90db5dbcc50034fb33983f6259b8b.tar.xz linux-dev-b6cec06d19d90db5dbcc50034fb33983f6259b8b.zip |
nvme-loop: remove extra variable in create ctrl
We can call the nvme_change_ctrl_state() directly and have
WARN_ON_ONCE(1) call instead of having to use an extra variable which
matches the name of the function.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions