diff options
author | 2022-09-27 13:36:07 -0700 | |
---|---|---|
committer | 2022-09-28 19:36:38 -0700 | |
commit | 8c654a1bb686bf847aa00e0ea7a545b3a30a5e66 (patch) | |
tree | b4681540ab691aab62c84fc54b7b4a78017394d1 /net/lapb/lapb_subr.c | |
parent | net/mlx5e: Simplify stride size calculation for linear RQ (diff) | |
download | linux-rng-8c654a1bb686bf847aa00e0ea7a545b3a30a5e66.tar.xz linux-rng-8c654a1bb686bf847aa00e0ea7a545b3a30a5e66.zip |
net/mlx5e: xsk: Remove dead code in validation
One of the checks in mlx5e_rx_is_linear_skb verifies that the RX buffer
fits into the XSK frame size. Remove the duplicating check from
mlx5e_validate_xsk_param. It allows to make mlx5e_rx_get_min_frag_sz
static.
Remove mlx5e_rx_is_xdp altogether, as its only usage is located in a
branch where xsk == NULL.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions