Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp366265lqo; Thu, 16 May 2024 08:29:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBnk1UFtlxbW8ksn1NNOf6CvY3TA29UeYweMrD4XvSlyC82xowTmJxsSRXCRBmIgdk7zwM1oSuy7LkUCBcrCMTGCVxc7LHRra+2vYkMQ== X-Google-Smtp-Source: AGHT+IGI2v5nlVUL8YcOq1j58+9soVVj/eyi5MJ39QQeskwhfA3RR7cOy7Mo2njF4CCp7qEERjJr X-Received: by 2002:a05:6512:1046:b0:51d:2459:bdbb with SMTP id 2adb3069b0e04-5220fb7760emr15624637e87.12.1715873381488; Thu, 16 May 2024 08:29:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715873381; cv=pass; d=google.com; s=arc-20160816; b=zkpv+YpZKGZokt/Qi0sfBA0gniVtM7f2Sk/ywtDQ18Ezrzm4Hf/+H2jOPncrDhuOJ5 u7n4fwHHM/xZzhL/atbiqT0YC4MiI0oWXcRQ4wB7+kDRzptX09Yo8M72O1eGhWqxTRH3 mxLYKWLJxWx4Egp3D/5e8QFT9Fwi8W49i7/mQsu2NHiU7VRdTxOuQR207omXmcYbzz20 T5/hEID6CUf7/2edt5Ry0JvU5fVHCigGdegHxn+7h7uYlV1kNIQ8aTJ3l4hRxS6iAQ40 wdDllZl7hFGKhhFqdCWxd9CvzTU0fEZ9Nno4gVPgRJLLgwZg37/myZeHguYLv6VyveUt uD3A== 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=2VWTf8Mt+BUEGSmfkFPAKH4Wh10gssG2SiLRzDX3BqM=; fh=p3OpSnpBp85Owfnlz3xb5ZnAWhssziLSVRQ655RKDbk=; b=LKmKVvBiNBTtYxUaew4jM0NqTJURENdtxKhMA7nSNR2WrT0PsBuAjaSLx+T6ukr/72 ZjS4lYqX7W2tOrSXKdxIBeV9zwQ0Hhc25aiKOxqPgocMVhcdiYnMGnrFyZTmP7jkBCtm pBXc6qpAcQlm6dQuGDGjFJA4BB3WTr8c0tFf4HPLhIwuc1SrNdXTa7FkTMddyfamfdQJ AxJkz5DtAxKveZkYWYpvnGALeFhkeiFCaSFhNv9aAsny8/r8sq4KpDzQi6aA+8frEfzU wfSEPcA6JvJE7+cwcX875gMrHUsnK76ifN/FsF3XJnn2sKCGjQFi9QB6CBr80ClS0tMJ dFww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=Z5hPHuuD; 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-181246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-574f2e04e52si2342600a12.187.2024.05.16.08.29.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 08:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=Z5hPHuuD; 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-181246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181246-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 362451F2214E for ; Thu, 16 May 2024 15:29:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE66014E2E3; Thu, 16 May 2024 15:28:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="Z5hPHuuD" 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 9918D14D45B; Thu, 16 May 2024 15:28:43 +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=1715873325; cv=none; b=rkV/flk+gPvhOsq/BdkYz2wTdt5Yg3qCfU5S2LyRYYfbi07+w0ppXxEwn6K0tqu0EMBGua2yNgQfNhD6wgBw1cWvHRXBm88hy9J0sUFv3IHPEI65B9/Jn8FNtyM+D+iIWA9hmFO4wem00AhY63MQgsVXS1ZjMpmEn9jSxvbzlaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715873325; c=relaxed/simple; bh=xCuk8ZzFJym6L8TZxuo7kEre6sk+X7WHmfdRRx/azAU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S38y3EOlgd6cdLlEVNUmnrLhEx7BuJbr51x8JyKI4yRekVij+26wMCJssCBacxMSK2DpalwG7bfBx1Vug8Xbd7dV2o1uiSJZXdmsJAsTVm7XEI5F3QeVn7epxjJaGqKCoAWqgJmmN/Y4M0hiKYxZaekzQc/CW64jnkgM3D7hILY= 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=Z5hPHuuD; 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=2VWTf8Mt+BUEGSmfkFPAKH4Wh10gssG2SiLRzDX3BqM=; b=Z5hPHuuDMUSHauH1 c7l6j74fDGVAqL+LNQr3kauUbKmGz5NujWBujw0WMr3ZxgAxIlk1UigGnXUIxxpSx8UqPTdXHkGE0 UZqyRFPsHuH+20BC3w6u0Brvd0vv5n1+ZEXUtK3OAJ0CPIvTuu2/EeXA01XAfBFezK7rzSpj0pVbb PJHr06u/lmF6IuQB/sddRADaUw4hGZboAR1jCuyMUgoDB2eZgp1/6WRIne01WdbAGK5iMOJizPpSV 6MVkzb84TsJr6rEPiTAYxx+VJoukVnTcJgrGOkKLRsQ5zJ4grMZu+rtRfkIlPReAiv5cULylRKJ+d TkNVyScMk6YX+zZenA==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1s7d29-001FyV-1B; Thu, 16 May 2024 15:28:41 +0000 Date: Thu, 16 May 2024 15:28:41 +0000 From: "Dr. David Alan Gilbert" To: Frank Li Cc: vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data' Message-ID: References: <20240516133250.251252-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:28:29 up 8 days, 2:42, 2 users, load average: 0.05, 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:50PM +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > > > 'moxart_filter_data' never appears to have been used. > > Remove it. > > You can duplicate subject. > > Remove unused struct moxart_filter_data. V2 sent. Dave > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > drivers/dma/moxart-dma.c | 5 ----- > > 1 file changed, 5 deletions(-) > > > > diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c > > index c48d68cbff92..66dc6d31b603 100644 > > --- a/drivers/dma/moxart-dma.c > > +++ b/drivers/dma/moxart-dma.c > > @@ -148,11 +148,6 @@ struct moxart_dmadev { > > unsigned int irq; > > }; > > > > -struct moxart_filter_data { > > - struct moxart_dmadev *mdc; > > - struct of_phandle_args *dma_spec; > > -}; > > - > > static const unsigned int es_bytes[] = { > > [MOXART_DMA_DATA_TYPE_S8] = 1, > > [MOXART_DMA_DATA_TYPE_S16] = 2, > > -- > > 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 |_______/