From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gora Subject: [PATCH v2 01/10] kni: remove unused variables from struct kni_dev Date: Thu, 28 Jun 2018 18:54:59 -0700 Message-ID: <20180629015508.26599-2-dg@adax.com> References: <20180628224513.18391-1-dg@adax.com> <20180629015508.26599-1-dg@adax.com> Cc: dev@dpdk.org, Dan Gora To: ferruh.yigit@intel.com Return-path: Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by dpdk.org (Postfix) with ESMTP id A24C31B51D for ; Fri, 29 Jun 2018 03:55:49 +0200 (CEST) Received: by mail-oi0-f66.google.com with SMTP id v8-v6so7049085oie.5 for ; Thu, 28 Jun 2018 18:55:49 -0700 (PDT) In-Reply-To: <20180629015508.26599-1-dg@adax.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove the unused fields 'status' and 'synchro' from the struct kni_dev. Signed-off-by: Dan Gora --- 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