Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702823 > unrolled thread

[PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define

Started byJohannes Thumshirn <jthumshirn@suse.de>
First post2017-08-03 11:30 +0200
Last post2017-08-10 10:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Johannes Thumshirn <jthumshirn@suse.de> - 2017-08-03 11:30 +0200
    Re: [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Christoph Hellwig <hch@infradead.org> - 2017-08-10 10:50 +0200

#1702823 — [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define

FromJohannes Thumshirn <jthumshirn@suse.de>
Date2017-08-03 11:30 +0200
Subject[PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define
Message-ID<uakC5-6qh-7@gated-at.bofh.it>
ALL_OPTS isn't used anywhere, remove it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 drivers/nvme/target/fcloop.c | 3 ---
 1 file changed, 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 @@ fcloop_parse_nm_options(struct device *dev, u64 *nname, u64 *pname,
 
 #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);
-- 
2.12.3

[toc] | [next] | [standalone]


#1708329

FromChristoph Hellwig <hch@infradead.org>
Date2017-08-10 10:50 +0200
Message-ID<ucRkf-2YH-13@gated-at.bofh.it>
In reply to#1702823
Thanks, applied both patches to nvme-4.14.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web