Message ID | 20231211062801.27891-5-darinzon@amazon.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4ab138ca0a340e6d6e7a6a9bd5004bd8f83127ca |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | ENA driver XDP bug fixes | expand |
diff --git a/drivers/net/ethernet/amazon/ena/ena_eth_com.c b/drivers/net/ethernet/amazon/ena/ena_eth_com.c index 3d6f0a4..f9f8862 100644 --- a/drivers/net/ethernet/amazon/ena/ena_eth_com.c +++ b/drivers/net/ethernet/amazon/ena/ena_eth_com.c @@ -328,9 +328,6 @@ static int ena_com_create_and_store_tx_meta_desc(struct ena_com_io_sq *io_sq, * compare it to the stored version, just create the meta */ if (io_sq->disable_meta_caching) { - if (unlikely(!ena_tx_ctx->meta_valid)) - return -EINVAL; - *have_meta = true; return ena_com_create_meta(io_sq, ena_meta); }