diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-08 17:18:27 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-08 20:15:20 +0300 |
commit | 3913f4f3a65ca9ed6ba7e4678fff10a6e7b42dbd (patch) | |
tree | f3b42c248fb23b2a420ad86967750ae701dae31c /scripts/bpf_helpers_doc.py | |
parent | 359c1f88ab646174bf82d18454c3ee2a38462ac8 (diff) | |
download | linux-3913f4f3a65ca9ed6ba7e4678fff10a6e7b42dbd.tar.xz |
nvme: remove ns->disk checks
By the time a namespace is added to ctrl->namespaces list and thus
can be looked up ns->disk has been assigned, and it it never cleared.
Remove all the checks for ns->disk being NULL.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions