IB/iser: remove unused macros
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Thu, 30 Mar 2023 13:13:31 +0000 (16:13 +0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 3 Apr 2023 12:38:29 +0000 (15:38 +0300)
The removed macros are old leftovers.

Reviewed-by: Sergey Gorenko <sergeygo@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20230330131333.37900-1-mgurtovoy@nvidia.com
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/iser/iser_verbs.c

index 1b8eda0dae4e0cae4bb97d48ec0893f65584ca63..95b8eebf7e045f77a3154dea351a7a0bfe5005d4 100644 (file)
 
 #include "iscsi_iser.h"
 
-#define ISCSI_ISER_MAX_CONN    8
-#define ISER_MAX_RX_LEN                (ISER_QP_MAX_RECV_DTOS * ISCSI_ISER_MAX_CONN)
-#define ISER_MAX_TX_LEN                (ISER_QP_MAX_REQ_DTOS  * ISCSI_ISER_MAX_CONN)
-#define ISER_MAX_CQ_LEN                (ISER_MAX_RX_LEN + ISER_MAX_TX_LEN + \
-                                ISCSI_ISER_MAX_CONN)
-
 static void iser_qp_event_callback(struct ib_event *cause, void *context)
 {
        iser_err("qp event %s (%d)\n",