ionic: remove lif list concept
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / pensando / ionic / ionic.h
index f5a910c..f699ed1 100644 (file)
@@ -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;