From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E618454EF; Tue, 25 Jun 2024 14:24:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2041342E60; Tue, 25 Jun 2024 14:24:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id EAC6042E5F for ; Tue, 25 Jun 2024 14:24:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1719318279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2BUXrO9gPxEUSl0Ggz7KzTUGZy1YYsSSPPXGt56UG/8=; b=bP0h2G0BWWTJeaBt6nc9CLWlZU9xklYqMQCeQ1/sLS6yP7LrxOiBzm3uL8Gjpi8O2mAweC dueP2AWXbv/gnlUrOKMDRMHPFgWUkTGso52ZVx769ZvUs+Fci6nAmq4WY3eILEq3HVu6X0 DL++kd/SbdZzMWJJeCyULxiEudFb+Yk= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-k9xPpSW9Nq2AjdK8PQFmhg-1; Tue, 25 Jun 2024 08:24:37 -0400 X-MC-Unique: k9xPpSW9Nq2AjdK8PQFmhg-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BD9231955F1D; Tue, 25 Jun 2024 12:24:34 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.3]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CD1CC300021A; Tue, 25 Jun 2024 12:24:31 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Vijay Kumar Srivastava , Maxime Coquelin , Andrew Rybchenko Subject: [PATCH 1/6] vdpa/sfc: remove dead code Date: Tue, 25 Jun 2024 14:24:09 +0200 Message-ID: <20240625122414.1065829-2-david.marchand@redhat.com> In-Reply-To: <20240625122414.1065829-1-david.marchand@redhat.com> References: <20240625122414.1065829-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This is probably a copy/paste from the net/sfc driver. sfc_logtype_driver is not a logtype variable from the sfc vDPA driver. Remove it. Fixes: 6dad9a7353d4 ("vdpa/sfc: support device initialization") Cc: stable@dpdk.org Signed-off-by: David Marchand --- drivers/vdpa/sfc/sfc_vdpa_hw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/vdpa/sfc/sfc_vdpa_hw.c b/drivers/vdpa/sfc/sfc_vdpa_hw.c index edb7e35c2c..7e43719f53 100644 --- a/drivers/vdpa/sfc/sfc_vdpa_hw.c +++ b/drivers/vdpa/sfc/sfc_vdpa_hw.c @@ -13,8 +13,6 @@ #include "sfc_vdpa.h" #include "sfc_vdpa_ops.h" -extern uint32_t sfc_logtype_driver; - #ifndef PAGE_SIZE #define PAGE_SIZE (sysconf(_SC_PAGESIZE)) #endif -- 2.45.2