Skip to contentSkip to conversation

igc: Remove unused code

PATCH New Sasha Neftin 2 participants 2 messages Jan 7, 2019 – Feb 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igc: Remove unused code

Remove unused igc_adv_data_desc definition from igc_base.h file. Descriptors definition will be added per demand.

---
 drivers/net/ethernet/intel/igc/igc_base.h | 22 ----------------------
 1 file changed, 22 deletions(-)
drivers/net/ethernet/intel/igc/igc_base.h +0 -22
index a5d3f57274a8..76d4991d7284 100644
@@ -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 {
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Remove unused code

Quoted 6 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Sasha Neftin
Sent: Monday, January 7, 2019 6:40 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH 1/1] igc: Remove unused code

Quoted 7 lines

Remove unused igc_adv_data_desc definition from igc_base.h file. Descriptors definition will be added per demand.

---
 drivers/net/ethernet/intel/igc/igc_base.h | 22 ----------------------
 1 file changed, 22 deletions(-)