nvme-rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 3 Aug 2017 09:28:47 +0000 (11:28 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Aug 2017 19:38:22 +0000 (21:38 +0200)
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>
drivers/nvme/host/rdma.c

index 9ff0eb3a625e283bc43f11e4f4d6869fbe46c475..ffd73890d07797c4bf8ec1a416e1f8004aaa4de0 100644 (file)
@@ -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