net/mlx5: DR, Remove unused field of send_ring struct
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Tue, 23 Mar 2021 01:08:56 +0000 (03:08 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 May 2021 18:54:37 +0000 (11:54 -0700)
Remove unused field of struct mlx5dr_send_ring

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h

index 67460c4..7600004 100644 (file)
@@ -1252,7 +1252,6 @@ struct mlx5dr_send_ring {
        u32 tx_head;
        void *buf;
        u32 buf_size;
-       struct ib_wc wc[MAX_SEND_CQE];
        u8 sync_buff[MIN_READ_SYNC];
        struct mlx5dr_mr *sync_mr;
        spinlock_t lock; /* Protect the data path of the send ring */