From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C1BFA00E6 for ; Thu, 11 Jul 2019 22:03:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 230B41B950; Thu, 11 Jul 2019 22:03:16 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id DBE942C60 for ; Thu, 11 Jul 2019 22:03:13 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id az7so3577984plb.5 for ; Thu, 11 Jul 2019 13:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kt9q6guCwww/nfIHNx1HkZT4mdcghD52w1qtyg5t1/M=; b=XzHyyYT6fiOhr8uEjE4m7Sbv6cJhbaDkuoswm4IkoLIzbbMnmBBj1Su3/GTYZ07WK1 wfHWXAoacB+LrFmsSzoMb1oHoX3nudO2iH/HBuIj9KnTR7weq4EzO1xhsRf5LTiz8hDV s+aJi9+2AvGktFxNDDaTqC8hYk3H78qgikrQISScV4t0mokaghAiCei7KvtM08/Z9aPj 5YMANV+ASfd+3YWHlBTjfToAHwCda1he9FyJu/xOSErshNKS+Z9JPDBdtVKLtIbJB058 PktdKD4ZJJOUnsH86a8avWwNgngNM1YSNgJTtMe62L6gBTurSTO44hIUNkhLxWbsat8N xNQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kt9q6guCwww/nfIHNx1HkZT4mdcghD52w1qtyg5t1/M=; b=cWSZiKUFbMhVCqN8xvtdZ23lx7c7pzMHPRZstCj+o8Nf6lsqnE2mfrVcrfl0wISP6V u1oLnJRWe1JY92Ii6D5AHvLegBd++tTRIjfiihtmF0HtALUELuCiBEZ8NVG0M1D9/ya8 wCSa+HA2gURrtj+nzLzu2Veay9/u5wzdI8LhQvtqD5mEc/m8YvnmKxn6Uaxh46RTsZQi LPv/VlbybIx8zm93mz9qs90RnRXqE6lvQnOKcG8PAZ/R3HIC804kPoMYCMjDa+N1YbaH rT1TV5n13Jl9lJihhiwnvgOPzqnZ5aoMwZoGdWMogrk9v6qJoDg4WjSwHsccVjd8VEXL UBXg== X-Gm-Message-State: APjAAAWMwlf3lwriOS8DbD/glNrnZ6hqUnuVg8bPlyLcFTwdupvYVbSp qWv9VNTOTMcPdrwc3z/JvHXw2DIz X-Google-Smtp-Source: APXvYqwpb9P6Bf8BJmbch/oYKPqYr6U0wyP2CuId9AgdKtn1FRajIr1IlaW7yXqzWJ4+TyshY5QU4w== X-Received: by 2002:a17:902:b688:: with SMTP id c8mr6518581pls.243.1562875392905; Thu, 11 Jul 2019 13:03:12 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id s66sm7040083pfs.8.2019.07.11.13.03.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 13:03:11 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 11 Jul 2019 13:03:01 -0700 Message-Id: <20190711200309.6134-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190711200309.6134-1-stephen@networkplumber.org> References: <20190711200309.6134-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 1/9] net/tap: remove redundant declarations 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The rte_vdev_drivers are declared twice. The first one is not necessary. Signed-off-by: Stephen Hemminger --- drivers/net/tap/rte_eth_tap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 3841842f01f8..64bd049110e1 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c @@ -71,8 +71,6 @@ #define TAP_IOV_DEFAULT_MAX 1024 static int tap_devices_count; -static struct rte_vdev_driver pmd_tap_drv; -static struct rte_vdev_driver pmd_tun_drv; static const char *valid_arguments[] = { ETH_TAP_IFACE_ARG, -- 2.20.1