diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-08-27 16:00:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-28 08:01:30 -0700 |
commit | 30b87ab4c0b30e0f681cb7dfaab6c642dd17e454 (patch) | |
tree | ff1a1c5bca1aa0077bdd0e71398a99113ffe761a /drivers/net/ethernet/pensando/ionic/ionic.h | |
parent | ionic: use kcalloc for new arrays (diff) | |
download | linux-30b87ab4c0b30e0f681cb7dfaab6c642dd17e454.tar.xz linux-30b87ab4c0b30e0f681cb7dfaab6c642dd17e454.zip |
ionic: remove lif list concept
As we aren't yet supporting multiple lifs, we can remove
complexity by removing the list concept and related code,
to be re-engineered later when actually needed.
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.h')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic.h b/drivers/net/ethernet/pensando/ionic/ionic.h index f5a910c458ba..f699ed19eb4f 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic.h +++ b/drivers/net/ethernet/pensando/ionic/ionic.h @@ -42,13 +42,11 @@ struct ionic { struct ionic_dev_bar bars[IONIC_BARS_MAX]; unsigned int num_bars; struct ionic_identity ident; - struct list_head lifs; - struct ionic_lif *master_lif; + struct ionic_lif *lif; unsigned int nnqs_per_lif; unsigned int neqs_per_lif; unsigned int ntxqs_per_lif; unsigned int nrxqs_per_lif; - DECLARE_BITMAP(lifbits, IONIC_LIFS_MAX); unsigned int nintrs; DECLARE_BITMAP(intrs, IONIC_INTR_CTRL_REGS_MAX); struct work_struct nb_work; |