From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=OQf1xzRsloSmaaOq3NyvPQSYZQh//yOoNl7ygYWXcz0=; b=VJxhlYnMCukbIuFIpYu18WZ8kKKDLC1u7jcRu9DwUbYm5P1AiOsx1brAFc+4a72NAR SHva7uBAq96G5lzpbz70v4WIWEDcAJ6JUTay6NdRhJLr9u1jzsSxEboI57bFOIgQb9dP 3lMTKJm4wBvAtLoEFCz/TewLCHQ+sLn1XTJ+xC3//555BVm/pJwM4fC7PYISQHMmtRBY 7oc/vWVZV6sIpqxGNrcT3H1nNx610BayqtBhLzzGOiK6r1nsZBLdGMzkxdC28opMTgoD 0pS1+aLjCEDqcsdqu3U7LdsqComhD/RhqzywfnKrV6fT1dhL+6D5cQnsEl2Gjy+n2RYh Diuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=OQf1xzRsloSmaaOq3NyvPQSYZQh//yOoNl7ygYWXcz0=; b=OBcU5ybX8yKwTOgatxUFsqM899bKihI1AxR6jk7IgfTzu1YAhoOPaIN8gCObWHjc/l q7xVcrkX2DQbQRcfyit8uWbE/gneW8ADEJKceqOAo4RKIvjw2eSSn1mT0zlM9mIknXIJ Ngg8rNmv/blZDGaIRSMTPY5Gm7h2ZRzP/xMKqb2TdkOchxbhoTong4h5wQrCIU1UhCy5 /3rSaLNcDMpNwXZ+SZCs9jpbpkzUIG49hdLJcfeivJc0oxhm+CiohlRMDlBd8Aiip0Sa dR8shWzHcdYQmIvMrN23fVSLHH1+UVXrl0lgKOV+AsEFPjuup9sWanKd2ymGtnMTjjsG FNWA== X-Gm-Message-State: APt69E0Sq2R3/0MtlGT/wwYggfqns7mxm3g6kIS9Md8IO+aw25316Mav L8GIGPvhCuLVN7k1MgPcajY= X-Google-Smtp-Source: AAOMgpfO/SFDWh+4d0sIyhyzkV/CZnIBFArYpxPQd/A468hH7rrk30/Z+afYdvHDuW5Oyg/fH9hf9w== X-Received: by 2002:aca:d80b:: with SMTP id p11-v6mr6839957oig.210.1530237348834; Thu, 28 Jun 2018 18:55:48 -0700 (PDT) Received: from linux.adax.com (172-11-198-60.lightspeed.sntcca.sbcglobal.net. [172.11.198.60]) by smtp.gmail.com with ESMTPSA id n3-v6sm3941288otk.38.2018.06.28.18.55.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Jun 2018 18:55:48 -0700 (PDT) Sender: Dan Gora From: Dan Gora To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Dan Gora Date: Thu, 28 Jun 2018 18:54:59 -0700 Message-Id: <20180629015508.26599-2-dg@adax.com> X-Mailer: git-send-email 2.18.0.rc1.1.g6f333ff2f In-Reply-To: <20180629015508.26599-1-dg@adax.com> References: <20180628224513.18391-1-dg@adax.com> <20180629015508.26599-1-dg@adax.com> Subject: [dpdk-dev] [PATCH v2 01/10] kni: remove unused variables from struct kni_dev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 01:55:49 -0000 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