Message ID | 20240306232959.17316-13-shannon.nelson@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a12c1e7a6449c39b3dd6ae12bf410281ea79a9ad |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | ionic: putting ionic on a diet | expand |
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c index af414707d614..3bb3534b3d25 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c @@ -135,12 +135,6 @@ static int ionic_rx_page_alloc(struct ionic_queue *q, dev = q->dev; stats = q_to_rx_stats(q); - if (unlikely(!buf_info)) { - net_err_ratelimited("%s: %s invalid buf_info in alloc\n", - dev_name(dev), q->name); - return -EINVAL; - } - page = alloc_pages(IONIC_PAGE_GFP_MASK, 0); if (unlikely(!page)) { net_err_ratelimited("%s: %s page alloc failed\n",