summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2017-08-03 11:28:48 +0200
committerChristoph Hellwig <hch@lst.de>2017-08-28 21:38:21 +0200
commit1c35be8c8a13fa714c1c783f14653ca9d3e3721f (patch)
treeb9b029bc5e2472dab71ec5d89b81a6f2cff710e9 /drivers/nvme
parentnvmet: fix the return error code of target if host is not allowed (diff)
downloadlinux-1c35be8c8a13fa714c1c783f14653ca9d3e3721f.tar.xz
linux-1c35be8c8a13fa714c1c783f14653ca9d3e3721f.zip
nvmet-fcloop: remove ALL_OPTS define
ALL_OPTS isn't used anywhere, remove it. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/target/fcloop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c
index 1bb9d5b311b1..1cb9847ec261 100644
--- a/drivers/nvme/target/fcloop.c
+++ b/drivers/nvme/target/fcloop.c
@@ -193,9 +193,6 @@ out_free_options:
#define TGTPORT_OPTS (NVMF_OPT_WWNN | NVMF_OPT_WWPN)
-#define ALL_OPTS (NVMF_OPT_WWNN | NVMF_OPT_WWPN | NVMF_OPT_ROLES | \
- NVMF_OPT_FCADDR | NVMF_OPT_LPWWNN | NVMF_OPT_LPWWPN)
-
static DEFINE_SPINLOCK(fcloop_lock);
static LIST_HEAD(fcloop_lports);