From patchwork Thu Jul 11 20:03:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 56355 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1257E1B9DE; Thu, 11 Jul 2019 22:03:32 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 29AC71B94F for ; Thu, 11 Jul 2019 22:03:20 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id c73so3235146pfb.13 for ; Thu, 11 Jul 2019 13:03:20 -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=abUY3cPlq/svkrh+j6WW2jQ+vpx+FuJydmWBN1q4iHM=; b=C8kPRnT85PaF+CMrKNlADLNCAclZb2RtZvvxWl3S88MeTa/DyRjUfIp3v02aT+EoU+ ZA6cdh7Hvfd8W2oj3Z8nQVQodNMzVqGEoHbKYVFgxtiZejQ/E3YI8+60nLlh9ae5XIrm FAZwYOY/WttDqgSa3Xk11iR71p9zT60VIqgKOn6VDf8x32RadT+VGVIoiIuwu3GUMG8w VIiCtB4U4uC0VJ6TzpiWxNJn8dSXr/MkPJasVJ0Y5BSDNn215UDEEFxipN6gBS0MtXuB ifu07Vzu5oyM04kO6stTqNgklNgOijuhSy0pJtHMMZBF1gK2dlHuxzaMtgWA/19yYfvc RtoQ== 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=abUY3cPlq/svkrh+j6WW2jQ+vpx+FuJydmWBN1q4iHM=; b=WWQjrGx1YKcG/WjAm5McJT9J3yNVik6wJNJ5UzyaMvFFdrsZsysQWsq0nE08HCRYHd 2aRNyeKMYxjZANgIFlbEwoz/WOfP0Rh7Tqc8oqEKWQhdlVRCJVXtjERxIBKCoqjOV8ln tMEx5d7zSMRtnkGY0RBkr4RgG0rxqUM7apQlOY0kaMMkhIQptceBEwxjlI2eQ6RZRKCi POAd4ChqIHBWHmaeld2+fQeBVgdNbuP07a9xGSpZXJsUnqDWi/DiluNduVY3zUtMJnGR 89ZSyBJWtV4EBkawFbgG/hRMt2dx6LMW56pOX01PYxAlEBRrHxGv/EKHRGNKB67+IPyF SACg== X-Gm-Message-State: APjAAAUlpVgpmbuTjeFE+09QLZwn5Tnx1wuxhDicCSGZzoAP5wTLwhHD mHAsA/bQMG+EXEQQ6Ap/6XF3SFKE X-Google-Smtp-Source: APXvYqy2TibALFd5+1xlbeNyW2hkE1jDZX/H1o9cIEAFoNcrc4E/MRCMjz1cgzj3ihArF+hK31onMw== X-Received: by 2002:a63:124a:: with SMTP id 10mr6240054pgs.254.1562875399102; Thu, 11 Jul 2019 13:03:19 -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.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 13:03:18 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 11 Jul 2019 13:03:07 -0700 Message-Id: <20190711200309.6134-8-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 Subject: [dpdk-dev] [PATCH 7/9] net/virtio_user: remove redundant rte_vdev_driver declaration 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_driver is declared twice. The first one is not necessary. Signed-off-by: Stephen Hemminger --- drivers/net/virtio/virtio_user_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c index 0a57db730cfd..3fc1725736b5 100644 --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -441,8 +441,6 @@ get_integer_arg(const char *key __rte_unused, return 0; } -static struct rte_vdev_driver virtio_user_driver; - static struct rte_eth_dev * virtio_user_eth_dev_alloc(struct rte_vdev_device *vdev) {