Skip to contentSkip to conversation

kni: remove unused variables from struct kni_dev

PATCH New Dan Gora 1 participant 1 message Jun 28, 2018

lore
Share & tools
lore

Dan Gora

author
#0 lore raw

PATCH 1/10 kni: remove unused variables from struct kni_dev

Remove the unused fields 'status' and 'synchro' from the struct kni_dev.

---
 kernel/linux/kni/kni_dev.h | 4 ----
 1 file changed, 4 deletions(-)
kernel/linux/kni/kni_dev.h +0 -4
index 6275ef27f..ed42989cc 100644
@@ -37,7 +37,6 @@ struct kni_dev {
 	struct list_head list;
 
 	struct net_device_stats stats;
-	int status;
 	uint16_t group_id;           /* Group ID of a group of KNI devices */
 	uint32_t core_id;            /* Core ID to bind */
 	char name[RTE_KNI_NAMESIZE]; /* Network device name */
@@ -82,9 +81,6 @@ struct kni_dev {
 	/* mbuf size */
 	uint32_t mbuf_size;
 
-	/* synchro for request processing */
-	unsigned long synchro;
-
 	/* buffers */
 	void *pa[MBUF_BURST_SZ];
 	void *va[MBUF_BURST_SZ];
Signature · 1 line
2.18.0.rc1.1.g6f333ff2f