Skip to content

Commit b5618a6

Browse files
Tariq ToukanSaeed Mahameed
authored andcommitted
net/mlx5e: Remove unused function mlx5e_sq_xmit_simple
The last usage was removed as part of commit 40379a0 ("net/mlx5_fpga: Drop INNOVA TLS support"). Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Gal Pressman <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent f869bcb commit b5618a6

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ mlx5e_tx_dma_unmap(struct device *pdev, struct mlx5e_sq_dma *dma)
320320
}
321321
}
322322

323-
void mlx5e_sq_xmit_simple(struct mlx5e_txqsq *sq, struct sk_buff *skb, bool xmit_more);
324323
void mlx5e_tx_mpwqe_ensure_complete(struct mlx5e_txqsq *sq);
325324

326325
static inline bool mlx5e_tx_mpwqe_is_full(struct mlx5e_tx_mpwqe *session, u8 max_sq_mpw_wqebbs)

drivers/net/ethernet/mellanox/mlx5/core/en_tx.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -720,21 +720,6 @@ netdev_tx_t mlx5e_xmit(struct sk_buff *skb, struct net_device *dev)
720720
return NETDEV_TX_OK;
721721
}
722722

723-
void mlx5e_sq_xmit_simple(struct mlx5e_txqsq *sq, struct sk_buff *skb, bool xmit_more)
724-
{
725-
struct mlx5e_tx_wqe_attr wqe_attr;
726-
struct mlx5e_tx_attr attr;
727-
struct mlx5e_tx_wqe *wqe;
728-
u16 pi;
729-
730-
mlx5e_sq_xmit_prepare(sq, skb, NULL, &attr);
731-
mlx5e_sq_calc_wqe_attr(skb, &attr, &wqe_attr);
732-
pi = mlx5e_txqsq_get_next_pi(sq, wqe_attr.num_wqebbs);
733-
wqe = MLX5E_TX_FETCH_WQE(sq, pi);
734-
mlx5e_txwqe_build_eseg_csum(sq, skb, NULL, &wqe->eth);
735-
mlx5e_sq_xmit_wqe(sq, skb, &attr, &wqe_attr, wqe, pi, xmit_more);
736-
}
737-
738723
static void mlx5e_tx_wi_dma_unmap(struct mlx5e_txqsq *sq, struct mlx5e_tx_wqe_info *wi,
739724
u32 *dma_fifo_cc)
740725
{

0 commit comments

Comments
 (0)