summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2017-08-03 11:28:47 +0200
committerChristoph Hellwig <hch@lst.de>2017-08-28 21:38:22 +0200
commit4897ad4e0812c358c8bdd7aa25fdc2201ae2de0b (patch)
tree985ce60b173c7901ca12341578e627e65324209c
parent1c35be8c8a13fa714c1c783f14653ca9d3e3721f (diff)
downloadlinux-stable-4897ad4e0812c358c8bdd7aa25fdc2201ae2de0b.tar.gz
linux-stable-4897ad4e0812c358c8bdd7aa25fdc2201ae2de0b.tar.bz2
linux-stable-4897ad4e0812c358c8bdd7aa25fdc2201ae2de0b.zip
nvme-rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE
NVME_RDMA_MAX_SEGMENT_SIZE is not used anywhere, zap it. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--drivers/nvme/host/rdma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index 9ff0eb3a625e..ffd73890d077 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -36,8 +36,6 @@
#define NVME_RDMA_CONNECT_TIMEOUT_MS 3000 /* 3 second */
-#define NVME_RDMA_MAX_SEGMENT_SIZE 0xffffff /* 24-bit SGL field */
-
#define NVME_RDMA_MAX_SEGMENTS 256
#define NVME_RDMA_MAX_INLINE_SEGMENTS 1