igc: Remove unused code
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 7 Jan 2019 14:40:17 +0000 (16:40 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Feb 2019 01:00:52 +0000 (17:00 -0800)
Remove unused igc_adv_data_desc definition from igc_base.h file.
Descriptors definition will be added per demand.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_base.h

index a5d3f57274a8c6c87ed5a3f09824f3d273ebd0e5..76d4991d728443bdaaf15ddfd68708f6a133e346 100644 (file)
@@ -36,28 +36,6 @@ union igc_adv_tx_desc {
 
 #define IGC_RAR_ENTRIES                16
 
-struct igc_adv_data_desc {
-       __le64 buffer_addr;    /* Address of the descriptor's data buffer */
-       union {
-               u32 data;
-               struct {
-                       u32 datalen:16; /* Data buffer length */
-                       u32 rsvd:4;
-                       u32 dtyp:4;  /* Descriptor type */
-                       u32 dcmd:8;  /* Descriptor command */
-               } config;
-       } lower;
-       union {
-               u32 data;
-               struct {
-                       u32 status:4;  /* Descriptor status */
-                       u32 idx:4;
-                       u32 popts:6;  /* Packet Options */
-                       u32 paylen:18; /* Payload length */
-               } options;
-       } upper;
-};
-
 /* Receive Descriptor - Advanced */
 union igc_adv_rx_desc {
        struct {