Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp470256lqt; Fri, 19 Apr 2024 00:57:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+GbR85n0ZdTicn3V4NjhsFyCCgk2GAwT5Dhd7iTmxt+urpfJ+KbsJJ2V0cfmbGujQbP11F/qfIHpb3geF1ch0repeJAUh0ixoEb2EzA== X-Google-Smtp-Source: AGHT+IEsCBdc++3QOF5ps5YAYUG2JshQfzcAD13p5uWoiXuJtqh/m81dkN+14mgj+vuNq4Yzk/5a X-Received: by 2002:a05:620a:101a:b0:78e:dc56:ab2c with SMTP id z26-20020a05620a101a00b0078edc56ab2cmr1779666qkj.57.1713513465005; Fri, 19 Apr 2024 00:57:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713513464; cv=pass; d=google.com; s=arc-20160816; b=Bzdpa9V/qCyKd+KgL0iXp9H6yLzeU39A9TDCtACmUeGootgtoFwQzG598E2xSQbkKm x5FvSBAKZyn1fVEa5lkr0KIUhJakCGEcUAdI3iWNNxXky++dKej8HYC7BKhcGdgNdjYo ubiYRrSQv9h312msT4bE5uwTmz+Io4qDJQHUQYquezA0wkw4pzwaYapyt5azkz5HB3So WzHFMsJBPlRyZGRlkFBxprmNR8yJNCqv4QbbvR4fQXIJAUl1eAG3buNKnIW0UPw8D7Ng cNM7uf63RIXnO5OXWNng8sYBf7oYd5rFutu6KF7w1gH0/J6fTjtf2CHEzipQiPFFOhlv gUoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=+FxZ5LV033W9wsqYp27FDqemw5VstbGooNNTUSlLqFk=; fh=lZMCxXF5BxG3iZPEPnmgU8WttrRaUR6dHZBLinBPtY4=; b=AAoGI0DcJIPNNMvE9tEBcKfUiXxMpz4qX/hwVGFY6ivNSWqUcDzomBM9Y1itRGn2Ag p0EY/IfNW+3Ntvg6zBIAwSdb4o6xZZ5AOoklCMvIyBlx6K7EOF/IUFlmh+xUiHazJzH3 CJdLoYM3+xI4mLy981+X/WUGRONZD3TlVpCV29blRQXgSZAMiumdzxlMBAyzuxLaCn1x xoLdg/Iunjmh18TEPncXER4W+tJVKZAvzVPNkOjTyx1LyU2vl+c4XvfZehdRMIRPwjz5 bZ5OuuRgQah7yGD9td8HohJpg++ZdoJD2COoVEy3HEyUkol1D5dfeobIcSSme26aacDG yaoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mK1SK2+X; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-151138-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g24-20020a05620a13d800b0078d5e87eb18si3221754qkl.533.2024.04.19.00.57.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 00:57:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151138-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=@intel.com header.s=Intel header.b=mK1SK2+X; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-151138-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 B8E381C21609 for ; Fri, 19 Apr 2024 07:57:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64D3152F6D; Fri, 19 Apr 2024 07:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mK1SK2+X" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 F19EE52F63; Fri, 19 Apr 2024 07:57:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713513445; cv=none; b=JYmdts0n/T55BpxfSi+RedNr6t+CGnAnGrKty0mluC3Puy0Mww9vz6r3gQFmwfBY8Vwds6iKAr0n45QGD9Rv8Z5DEmbK0o+toQI2UlV8Up3HwppknhJmx1AO30HjAj7UVKnbYlMEs1ZDGYjpoAsEZSpKhPR+Srz8zVHw4uXtXD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713513445; c=relaxed/simple; bh=/azgN9fac9eSB9GDOVwcavx6OAd95Ef5uZBSpwv/e8g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VoIoY+W/rDw1chI0gOjtEQsi+i+i82d2Vgq4tpXRHuWfdiJT2qYTlcXHBEgu8rweI1O4ENrlW+hdSDD8dIgFtYRmDTmSWYLDXR0Z8L+RLsoZfSL0AEQe++RsAhgegS8v91oQ0gpIxDGeXo8vh6nvGkC/Ug2BATaNkAvkDzN34cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mK1SK2+X; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713513444; x=1745049444; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/azgN9fac9eSB9GDOVwcavx6OAd95Ef5uZBSpwv/e8g=; b=mK1SK2+XrnbruwTav+3uwYvU1fYeX/c4ASSCDjf7heFk04zxykT+0v4m VexlknCu3z8TVQ3IOHD1g1j5YDEeCmfluVkARXl1t1Bvuj1dW78poTqUv 7e56TI0I5q6oLrX79FA+Bw9gCIzyIF6kfMA6bckw3ki8xIfYH/P3BSReY rbQaMLzbhNpNYFNFWkRmnD5G9+h4aoJfovBKtPOTXgXZA9vRZ20s1HuqU DWpoR7mFnmVnOFcNLEJWvMMwXYiE6jZ9l6QkJnzo6VJ6Gr+BAysmOi3Sw H5DdqX/lncqcfFUy9ODr5AmCyjKzY+bk1ZH3q4sNUX1q4DMgWex22dtUq w==; X-CSE-ConnectionGUID: bRjAzBujRpaG4D3ROVuCcQ== X-CSE-MsgGUID: syFEHzbtTDOgoyiV/zChHQ== X-IronPort-AV: E=McAfee;i="6600,9927,11047"; a="34501527" X-IronPort-AV: E=Sophos;i="6.07,213,1708416000"; d="scan'208";a="34501527" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2024 00:57:23 -0700 X-CSE-ConnectionGUID: uZpu/pNASeeRbeBwLJk6gA== X-CSE-MsgGUID: A9VbWiRERTquWs18JfEGlA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,213,1708416000"; d="scan'208";a="23319101" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmviesa010.fm.intel.com with ESMTP; 19 Apr 2024 00:57:20 -0700 Date: Fri, 19 Apr 2024 15:52:06 +0800 From: Xu Yilun To: Peter Colberg Cc: Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Russ Weight , Marco Pagani , Matthew Gerlach Subject: Re: [PATCH v2] fpga: dfl: remove unused function is_dfl_feature_present Message-ID: References: <20240415235743.3045-1-peter.colberg@intel.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240415235743.3045-1-peter.colberg@intel.com> On Mon, Apr 15, 2024 at 07:57:43PM -0400, Peter Colberg wrote: > The function is_dfl_feature_present was added but never used. ^ Function reference should use the format "function_name()", I fixed it in place. Applied to for-next. > > Fixes: 5b57d02a2f94 ("fpga: dfl: add feature device infrastructure") > Signed-off-by: Peter Colberg > Reviewed-by: Matthew Gerlach > --- > v2: > - Do not wrap commit reference and move to Fixes: tag. > --- > drivers/fpga/dfl.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/fpga/dfl.h b/drivers/fpga/dfl.h > index 1d724a28f00a..5063d73b0d82 100644 > --- a/drivers/fpga/dfl.h > +++ b/drivers/fpga/dfl.h > @@ -437,11 +437,6 @@ void __iomem *dfl_get_feature_ioaddr_by_id(struct device *dev, u16 id) > return NULL; > } > > -static inline bool is_dfl_feature_present(struct device *dev, u16 id) > -{ > - return !!dfl_get_feature_ioaddr_by_id(dev, id); > -} > - > static inline > struct device *dfl_fpga_pdata_to_parent(struct dfl_feature_platform_data *pdata) > { > -- > 2.44.0 > >