]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/atheros/alx/alx.h
net: alx: switch to pci_alloc_irq_vectors
[karo-tx-linux.git] / drivers / net / ethernet / atheros / alx / alx.h
index d4a409139ea2c9cc13a03d7d63511d322210cc7a..78c5de467426f1e4276cebe8ee81cc0091d4c6fa 100644 (file)
@@ -102,9 +102,6 @@ struct alx_napi {
 
 #define ALX_MAX_NAPIS 8
 
-#define ALX_FLAG_USING_MSIX    BIT(0)
-#define ALX_FLAG_USING_MSI     BIT(1)
-
 struct alx_priv {
        struct net_device *dev;
 
@@ -112,7 +109,6 @@ struct alx_priv {
 
        /* msi-x vectors */
        int num_vec;
-       struct msix_entry *msix_entries;
 
        /* all descriptor memory */
        struct {
@@ -139,8 +135,6 @@ struct alx_priv {
 
        u16 msg_enable;
 
-       int flags;
-
        /* protects hw.stats */
        spinlock_t stats_lock;
 };