]> git.baikalelectronics.ru Git - kernel.git/commitdiff
i40evf: remove flags that are never used
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 19 Mar 2018 16:28:04 +0000 (09:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2018 16:56:27 +0000 (09:56 -0700)
These flags were defined, but there is no use within the driver code, so
we don't need to keep them.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf.h

index e46555ad712218ccf6d9b66e47c299cb31730cb0..279dced87e47d9da9456364f1d805d8502b93c04 100644 (file)
@@ -280,13 +280,10 @@ struct i40evf_adapter {
 
        u32 flags;
 #define I40EVF_FLAG_RX_CSUM_ENABLED            BIT(0)
-#define I40EVF_FLAG_IMIR_ENABLED               BIT(1)
-#define I40EVF_FLAG_MQ_CAPABLE                 BIT(2)
 #define I40EVF_FLAG_PF_COMMS_FAILED            BIT(3)
 #define I40EVF_FLAG_RESET_PENDING              BIT(4)
 #define I40EVF_FLAG_RESET_NEEDED               BIT(5)
 #define I40EVF_FLAG_WB_ON_ITR_CAPABLE          BIT(6)
-#define I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE     BIT(7)
 #define I40EVF_FLAG_ADDR_SET_BY_PF             BIT(8)
 #define I40EVF_FLAG_SERVICE_CLIENT_REQUESTED   BIT(9)
 #define I40EVF_FLAG_CLIENT_NEEDS_OPEN          BIT(10)