diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2019-01-01 10:58:29 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-01-09 21:47:06 +0300 |
commit | e9c2edc098921173920df370c69b5c38fe52df56 (patch) | |
tree | 3daceded5bd2e7e4056305b9c3e6290a02272b20 /drivers/nvme/host/tcp.c | |
parent | dcca1662727220d18fa351097ddff33f95f516c5 (diff) | |
download | linux-e9c2edc098921173920df370c69b5c38fe52df56.tar.xz |
nvme-tcp: remove dead code
We should never touch the opal device from the transport driver.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/tcp.c')
-rw-r--r-- | drivers/nvme/host/tcp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c index de174912445e..7210b2d6df13 100644 --- a/drivers/nvme/host/tcp.c +++ b/drivers/nvme/host/tcp.c @@ -1620,7 +1620,6 @@ static void nvme_tcp_destroy_admin_queue(struct nvme_ctrl *ctrl, bool remove) { nvme_tcp_stop_queue(ctrl, 0); if (remove) { - free_opal_dev(ctrl->opal_dev); blk_cleanup_queue(ctrl->admin_q); blk_mq_free_tag_set(ctrl->admin_tagset); } |