Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp363931lqo; Thu, 16 May 2024 08:25:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWK/w7zhlbGdexNo2yYcpdGI1uheOzO961aHTY3EVD0YPvGzWudjolBHvvBHK5akQMzvI5LQQUHzIHkXf5kERLnAFOMV25toT29tfq8Gg== X-Google-Smtp-Source: AGHT+IFK8+2ky6fxWtfrIpJd9wAqG5y5wwLRpWYbmRYG2VHa5BRE5WNtsa7dYyKwj9y4V1E4B7w8 X-Received: by 2002:a05:6870:d629:b0:23c:b686:cf7 with SMTP id 586e51a60fabf-24172a582e2mr22756885fac.18.1715873125626; Thu, 16 May 2024 08:25:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715873125; cv=pass; d=google.com; s=arc-20160816; b=KDcgtmf1hIR6J9hXp/0im9DnwmMZ7jOGH4319n2ZieRpFDKburOx+ZWb17cBgdnCX/ 3oqCexGQHBFrlIp3ajXDuXAATMcXrzHOfUnWhbEdYOJfXcBkCBQOpnIJwcQduT7bzztU L6ZZBkcNY1x3mZunNXc+tN+gs5RdnaM3amF/zWwotXZ2ejZuJHXeRL8pZhUxYk9jjimB CPWCiWuW3Rr2svIzEFHAncaMvdzPP2utYTHjNSL3UP2YTr85FbMvj1z4MGXo1SVWerZl zqmVLhkqXfUbXDP0o2OospgEmdRf2sfnPu/8kcUN8Sl1RCI3SlGnCupR1gzJtdCbw61i U5HA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=ZhFvrP46M0abGKnWf7SV+eo4mI12fx7mDm5L6hnBtXA=; fh=9JdAi/XRNsWpwfHq9yOWNFhYeuAlmMlpf5hqCXwnchc=; b=XUFayNgBPmDNbKUwl/2XtEKZ5Had7V89atBFmkr8wP6Q8aZqmkH1iVgcsvBBCvG83S JQn9GDwVD7YQ1WWRHlGyxidxYSUSMgjNJtLSRa0v+4wabsGfrujJlyHLKs6vFh+qE+AW fBeSKzRdKAITvjVQI8ROq1irXGdwVc+IzpPsH86eew2D4JIyCgZLxjeUoEx2fYl1yNYf Afmb8Z/26UlPIaFLBqSRSX6oAyaYrLLV01WIF+5n/1v+p4rOdCTf9FA2PZtTaEjdN/di jRY3cBw3JL02xSuV7dOY6KCmzayLUz6r6Glsjvv3oM9bxIobzw76lfdDClEgYlP0uULc RBMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b="NU2xaTu/"; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-181232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 71dfb90a1353d-4df7bf4aa42si2887030e0c.32.2024.05.16.08.25.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 08:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b="NU2xaTu/"; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-181232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 55D721C20B7E for ; Thu, 16 May 2024 15:25:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CF6B14D42C; Thu, 16 May 2024 15:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="NU2xaTu/" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED8751E491; Thu, 16 May 2024 15:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715873118; cv=none; b=pEuzf8x6pHZpH7Wa6ykcDpFQxsnmb6IJIHc33PZYMMIjHeZSrig8tDHciSVHfxv44JRPL0z/9RdjVCbD/vXSLE8jszmHgAGa3G7ODya8YXPBnfyKIj5z0cYWQRvk6jEylLGMj5qWsp0pwOw2FMSghSBWjnMDfVGJR4mHO7Rq5iI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715873118; c=relaxed/simple; bh=YTfcN3ABeR8TgtyVD7RSJHOoZtLWmrSjRR3Vv5D/b6w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A/J6ArceosP0ui6juDHW642eSW8cPqnQQyeJEOnGP2pi1gxjNDz6To2lq5XGizR0u9UbAZ72pUenqvUDqPXQVhi7voG3je2lo4KFBlHLmPMtjSsBbJD7k8pBXv6/25Lo5epzPgCqdZnbyshllkSqLau6g2W+BhKtbvTVYi2tFhU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=NU2xaTu/; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=ZhFvrP46M0abGKnWf7SV+eo4mI12fx7mDm5L6hnBtXA=; b=NU2xaTu/MB5fraFn tWRzPU7/oXq/XojRJgS/8tT+OrizrJBQOsBOoDUKqLA51M+jnKfht5LpV0TSmTlWwb4cZ3D4r9wzY sPv44QOg6m3TJcIcjt28/szsca5ky3Ox+ZdD1fo6snX5yX7HqaD9Q1GSeMf7g3jemgmRcCHc9Ynys msgXJmYa0mX20oyG8bGWxajwylJZTsl5qFZ1TtE0AebI1H9/U8QBw/IdNoS4pLdGn2Prnmn3L1Pmq /OGXOGEvnGeV0FQ1/VabsrH41YKcCNVoecDQHB7PQZGKDWGXNsKPLKpoopjlmi1D5c9MDXJcF5cRe a8Towg5rJiBB6YBYFw==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1s7cym-001Fs8-1V; Thu, 16 May 2024 15:25:12 +0000 Date: Thu, 16 May 2024 15:25:12 +0000 From: "Dr. David Alan Gilbert" To: Frank Li Cc: vkoul@kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: qcom: gpi: remove unused struct 'gpi_desc' Message-ID: References: <20240516133211.251205-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 15:24:29 up 8 days, 2:38, 2 users, load average: 0.01, 0.04, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Frank Li (Frank.li@nxp.com) wrote: > On Thu, May 16, 2024 at 02:32:11PM +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > > > 'gpi_desc' seems like it was never used. > > Remove it. > > code change show 'reg_info', not 'gpi_desc'. You need make sure that it > really is not used, not "seems like". Oops that was a cut-and-paste when I did the commit on the name. It was build tested. V2 coming along now. Dave > 'struct reg_info' is never used, so remove it. > > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > drivers/dma/qcom/gpi.c | 6 ------ > > 1 file changed, 6 deletions(-) > > > > diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c > > index 1c93864e0e4d..639ab304db9b 100644 > > --- a/drivers/dma/qcom/gpi.c > > +++ b/drivers/dma/qcom/gpi.c > > @@ -476,12 +476,6 @@ struct gpi_dev { > > struct gpii *gpiis; > > }; > > > > -struct reg_info { > > - char *name; > > - u32 offset; > > - u32 val; > > -}; > > - > > struct gchan { > > struct virt_dma_chan vc; > > u32 chid; > > -- > > 2.45.0 > > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/