* [PATCH 01/10] kni: remove unused variables from struct kni_dev
@ 2018-06-28 22:46 Dan Gora
0 siblings, 0 replies; only message in thread
From: Dan Gora @ 2018-06-28 22:46 UTC (permalink / raw)
To: Ferruh Yigit; +Cc: dev, Dan Gora
Remove the unused fields 'status' and 'synchro' from the struct
kni_dev.
Signed-off-by: Dan Gora <dg@adax.com>
---
kernel/linux/kni/kni_dev.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h
index 6275ef27f..ed42989cc 100644
--- a/kernel/linux/kni/kni_dev.h
+++ b/kernel/linux/kni/kni_dev.h
@@ -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];
--
2.18.0.rc1.1.g6f333ff2f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-28 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-28 22:46 [PATCH 01/10] kni: remove unused variables from struct kni_dev Dan Gora
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.