Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp254755lqp; Tue, 11 Jun 2024 03:41:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVg6ZhbwhpMFiPcov3GzoShoHSLROhJ4io3SAqOoIZcueXpLVu9hWvD7YGIHcxPoMBR+NEw2jL+eeGo/PbK4THOdruK2z8dplYEP97GRQ== X-Google-Smtp-Source: AGHT+IFQUaAB3lOeJFuzQzYSWFLSFdEbrNeL7IV9542BxJ14PhXpz6BQztadMccjGV4+K87ZkKY3 X-Received: by 2002:a17:90a:1345:b0:2c2:ecfe:23e1 with SMTP id 98e67ed59e1d1-2c2ecfe3b5dmr6338929a91.5.1718102499916; Tue, 11 Jun 2024 03:41:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718102499; cv=pass; d=google.com; s=arc-20160816; b=0KxyH5j2iVAa873HVwPwCHTv7JuA8fOdsyffBRsmMP1UqIzVLfuuq8Wfqi5sLpzvuf Jz+sEkwd0F54ahZiWCNVtb7/F4NEUZYlqGVpvTQhgqq4cNkWKKT1QSYTb9UbU8e39Oed bF7KxiBu21I53ZWbADy+liT9xrzWviONF2rlFn45BlZWNALAOrTpEiVQTxBe0YpqPPFt BExDL8nPyCtl0HRkcmgHywfA6a3WZ8Q51l/Wi/YOJ7Ii/8R697mypRxkv7vvTg8Hxygz q/GyppOSPYfPQEzHuEHJcB/0XrcMWIfvsxtK7il0FNWq2Q5421L0ADHXJ4x7pF5zpDYN n/ZQ== 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=EXhrNi9BJXwqxgk9P0Sn7kFh4jE63HviHZ8ME2QK1o4=; fh=qgxaW+wFOASp7xTfxFF2VkOhZnC4bm6jsDbolqCqo7w=; b=JyzU//oMJRnDklqHNvuQv5nsK3PrPgIJ1a44lpgY9DVbH8XQkFvsOg5oql9s7C+eDc zhDZ1ex7jsFg7bJj4m/RFbgq9OIPCS2lKzpjgQ1lg38iPvkhOG+BCHkfNjix8gxkKeVe UyiHPX1a/w+w8gPtayrFkAkyGGGSVBmz1yzz14MudDaB/nkcBRtSH6k6Cr4TbukKQ/4K wP9pI73RdrMlc3yQw2LYdkyx8UuLDdpH/HVMkDtB+NVe5M5qISM/tQVLTmk6D2EVbTH1 iGMpYzUtdPRPJ4sinHx1L4xpid5PuqWEp35M1lRs3mJMnJrOxHzJ/hAxHo8ZVYVPuygl TM0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=lo7vyE+0; 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-209667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c32fb2d66bsi1080933a91.0.2024.06.11.03.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 03:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=lo7vyE+0; 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-209667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209667-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 77613285D5C for ; Tue, 11 Jun 2024 10:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CD5F178CE2; Tue, 11 Jun 2024 10:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="lo7vyE+0" 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 9D61D7407C; Tue, 11 Jun 2024 10:41:30 +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=1718102492; cv=none; b=qlhXlzUTZYjFDn2NTrVpbsLjrtote4oAxECyopWsKtzv9pltw8hS8d+wIM1wh6jdRv3W3LgzEcds81kqntXjaz08nx5pF3FQbj9Cov/WAb4U+OxDm0MZJON9j2qqlUrcK2TTMxBkDqC9ARroi/POO8803ZRIt85hN2VbG1PCSug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718102492; c=relaxed/simple; bh=zyckEblzH74h7Tgi2pKhrriJeDUbb5iRCO7jCbK2v2U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bkn78LwDgaGMUmW9BSH3ZmZreeAqKMjEQhBzkCuoImtyjvub1bMyEpSEuBK7Nn+xnFzjG2WE0jr8lcIUNGynz7b3jLQv8OPrgtDJUFHvjlHYcqb1+/iOdPo/3bJ9TYPRj37oUbPNMRLi/PShN8n3Nvd6JA8SvchnPHlkqyr7K/0= 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=lo7vyE+0; 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=EXhrNi9BJXwqxgk9P0Sn7kFh4jE63HviHZ8ME2QK1o4=; b=lo7vyE+0ks9EwPZa 431dVbtEFGWmIJsgkbGHeFCJGCF9JiJGKGCNpwEinMpAWQiioT6Y5mkSIQLy15MYYzB0Yl/HXFiaq EdKnWYTWgp+CRnE/IrgULNCVUKtFUYlrMTy9e6jWdadtejlqrSLqVSRPxz6XxfMZ9+YZFZGbqlG61 CVVCaxJWzeEVw8Zr0/4SJLpm1ve0grQ/9wlzeu8f446h9z+MIdgnVGe7+1StjIUrGCQSTJwclNEXU VCg8QTE1dfdOHTLG5vnZA1yIEu7SDkSlQ8QHVmKBxc7X0hO9JQ6YoYdt82MCSmj7ZzKByqH0O0Ah9 lL40e/Xw13zEa4pz5A==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1sGywN-005XCX-2U; Tue, 11 Jun 2024 10:41:23 +0000 Date: Tue, 11 Jun 2024 10:41:23 +0000 From: "Dr. David Alan Gilbert" To: Xu Yilun Cc: mdf@kernel.org, hao.wu@intel.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: altera-fpga2sdram: remove unused struct 'prop_map' Message-ID: References: <20240530205245.125513-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: 10:40:32 up 33 days, 21:54, 1 user, load average: 0.01, 0.02, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Xu Yilun (yilun.xu@linux.intel.com) wrote: > On Thu, May 30, 2024 at 09:52:45PM +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > This is only needed if the person sending the patch is not the author. > > > > > 'prop_map' has been unused since the original > > commit e5f8efa5c8bf ("ARM: socfpga: fpga bridge driver support"). > > Please use 'fixes:' tag. I've avoided using fixes: on this series because it's not a bug; stable and downstream maintainers use Fixes: to indicate that they should pick up a patch on top of something they already have; there's no need for anyone to backport this. Dave > Thanks, > Yilun > > > > > Remove it. > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > drivers/fpga/altera-fpga2sdram.c | 6 ------ > > 1 file changed, 6 deletions(-) > > > > diff --git a/drivers/fpga/altera-fpga2sdram.c b/drivers/fpga/altera-fpga2sdram.c > > index 6b60ca004345..f4de3fea0b2d 100644 > > --- a/drivers/fpga/altera-fpga2sdram.c > > +++ b/drivers/fpga/altera-fpga2sdram.c > > @@ -75,12 +75,6 @@ static int alt_fpga2sdram_enable_set(struct fpga_bridge *bridge, bool enable) > > return _alt_fpga2sdram_enable_set(bridge->priv, enable); > > } > > > > -struct prop_map { > > - char *prop_name; > > - u32 *prop_value; > > - u32 prop_max; > > -}; > > - > > static const struct fpga_bridge_ops altera_fpga2sdram_br_ops = { > > .enable_set = alt_fpga2sdram_enable_set, > > .enable_show = alt_fpga2sdram_enable_show, > > -- > > 2.45.1 > > > > > -- -----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 |_______/