diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-09-01 11:20:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-02 15:47:01 -0700 |
commit | 339dcf7fe33f64c705cde6c5af5e47797274ae40 (patch) | |
tree | a51fdb1fd911f58fedbb03e41c8ef6228cc4e244 /drivers/net/ethernet/pensando/ionic/ionic_dev.h | |
parent | ionic: struct reorder for faster access (diff) | |
download | linux-dev-339dcf7fe33f64c705cde6c5af5e47797274ae40.tar.xz linux-dev-339dcf7fe33f64c705cde6c5af5e47797274ae40.zip |
ionic: clean up desc_info and cq_info structs
Remove some unnecessary struct fields and related code.
Co-developed-by: Neel Patel <neel@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_dev.h')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_dev.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_dev.h b/drivers/net/ethernet/pensando/ionic/ionic_dev.h index 0641ca2e1780..4a35174e3ff1 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_dev.h +++ b/drivers/net/ethernet/pensando/ionic/ionic_dev.h @@ -156,9 +156,6 @@ struct ionic_cq_info { struct ionic_admin_comp *admincq; struct ionic_notifyq_event *notifyq; }; - struct ionic_cq_info *next; - unsigned int index; - bool last; }; struct ionic_queue; @@ -186,9 +183,6 @@ struct ionic_desc_info { struct ionic_txq_sg_desc *txq_sg_desc; struct ionic_rxq_sg_desc *rxq_sgl_desc; }; - struct ionic_desc_info *next; - unsigned int index; - unsigned int left; unsigned int npages; struct ionic_page_info pages[IONIC_RX_MAX_SG_ELEMS + 1]; ionic_desc_cb cb; |