Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1753642lqp; Mon, 15 Apr 2024 16:58:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkSqcPrSXk0AJoQbonlzexhkEfdUmA3amRN7THU/3TFp+BwMUTsID42fVB2fBt1s8XPxb5uiYv81I/of0wF6qCqAmvsFCs0zQWE9vucw== X-Google-Smtp-Source: AGHT+IFVR0Ri+OQ4ynFH8Ci6gVv0jBEKrf+vp+MnB9WU5u+tO+rSUG1v63NGXFaqzU8XhUCYSR54 X-Received: by 2002:ac8:5982:0:b0:436:412a:3790 with SMTP id e2-20020ac85982000000b00436412a3790mr13243380qte.60.1713225509489; Mon, 15 Apr 2024 16:58:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713225509; cv=pass; d=google.com; s=arc-20160816; b=dV4bPgdjy6VTSBQ9MaY0JTpCxaSsMUDpjiBBst5lAFp7PXxAq2FeSS2KKATFhb3XMB XXaYFuL7hUUIr+Ss6oagPPiZU2ouBTbyV7WNWgzE9D3Fy92tSCjSKNuoa+c//XNktVqU bMYg7q0bN+skCRGakEN6gGlJOkgDwXppJo7YsMC0Mta7wDfYbsIAIshF5QnTNtZy7Rb/ 1E8V3vTg26NYnBO+CToZt80xRhszODEIzSNSqQoLC9gXCchfijer+ThqfQPElbvG9UiW bZYHBb/t9SEK28HZuy7RfmBWqqTC65wsARo67z9WJhbxhYjjV/SQk/a1Y6cctY4ygcks ItZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vwRlq3Jla1B80RZF5uc562ljwDXFLq4oyAQCdSA/m6Q=; fh=ff/2rgOSjULH/L3z/Y+PR5zkUTuzVJ4XEK4mTDNeRIg=; b=p8gFz+9W2s/SrNNx1m35/kFQRJXdl3f3Z/rcUpBEWcH5a0sHuTbRjXlsXg1VZu/4o8 MTT2Vd8ri+/i2MyrYvuc6wb71jH5Y5NpdZZ5u5DyJ2uue+AvknCR1xOKXHzDLYlClEo5 Zl0zLBX3mrd67UlaOC7abvTahFbzN+yHHokaIikgmAaq42xaMDP6JDaZKIN/u51P9L34 O3SbUcD6cW/sN88a/WeZB+v6FW/MvHGKlUgUlmNgKdZBsQBpVB+er2vHxn8fqtMJ16wg 1YZmuRH+WBuP6BONELLTlpNQfWzKJeHFzc9HTTxXOmPmxXD4mnSspc0L43BtJmBPXSnE 3WhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LJeDRkHk; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-146027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146027-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n16-20020a05622a041000b004347705f72fsi11674751qtx.180.2024.04.15.16.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 16:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LJeDRkHk; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-146027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146027-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 3949F1C20B31 for ; Mon, 15 Apr 2024 23:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75E8B159907; Mon, 15 Apr 2024 23:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LJeDRkHk" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 CC54F1591F4; Mon, 15 Apr 2024 23:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713225496; cv=none; b=HSLbJP0gpf9P3MNodv/FhdpEjz6vYv+JtI8zHo9oIRC9wm/nc2k+C4fxYTDbGtRjrMeCdJcQ2oRNPk19wUdzG7W3YoclMQ7ZWcGU2GxMeEaGIeDyv3AEXYR/2MOL6RKCaxkzqGoVWy2h0R4sHGX7ea01Hjj5Wd3NhoBjCBFz+k0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713225496; c=relaxed/simple; bh=S9uHbUvF9BAPlZALEKSXUhEc5OPZdpFJasa6wIfrH+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kskPvacPR/Sv9UBY+2wv2Hqlm717KVNe/n0YeqllBSpsTDOO5NJx8s19vdY6i5Ydl5E74CGkhaNA5tlRhWx49KbjDSrU1ZmmrRvZ7ZYSZouPlXJn2BReNTZiOSIS+bZnPxssjywir5PKIaAlDHAEGKBrsw3O+YpgVUDqFgiYFck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=LJeDRkHk; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713225495; x=1744761495; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=S9uHbUvF9BAPlZALEKSXUhEc5OPZdpFJasa6wIfrH+k=; b=LJeDRkHk9X3jVgvff9mbBOcz92AOwteL6C3kyBj/SpfNrYTPgpB4SX+Z jNVJ+W6PTPI7ZRNRqMXg+DPevhpCzqEBRUB/sSEaHpF6aFO6ofYy/N3tQ lPXuVzGRkRYg6kNOKwI4Sfp88PIY/1wtHhCm5dBBffK0N7DTYddgAp7FU txOifcJ5ujMMKi76UJXVPqAhoq92mpCNXqGQ/T3Zi+4I7mSUqXS3Zg/bi 7fS6TWTqFGZpRTjY9v/0bbxH63vdei+qBVnA4xJNYn5tOhO1ZMIvdocDJ jjL8HwZvsRlS6k+KtTr1scVzf48Q1ewaWsnIzul5/GNqSyBuLqyeHHKA2 g==; X-CSE-ConnectionGUID: 3bmwH6AQTx+9ZZcBzIHQNQ== X-CSE-MsgGUID: ku+fAmcLQDeqKANxhfG8gw== X-IronPort-AV: E=McAfee;i="6600,9927,11045"; a="8559772" X-IronPort-AV: E=Sophos;i="6.07,204,1708416000"; d="scan'208";a="8559772" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 16:58:14 -0700 X-CSE-ConnectionGUID: MqQeaqcQTACYunSUN7XgrQ== X-CSE-MsgGUID: 2AlKMFcsRAG/Hni17fvJ5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,204,1708416000"; d="scan'208";a="21975192" Received: from sj-4150-psse-sw-opae-dev3.sj.intel.com ([10.233.115.74]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 16:58:14 -0700 From: Peter Colberg To: Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Russ Weight , Marco Pagani , Matthew Gerlach , Peter Colberg Subject: [PATCH v2] fpga: dfl: remove unused function is_dfl_feature_present Date: Mon, 15 Apr 2024 19:57:43 -0400 Message-ID: <20240415235743.3045-1-peter.colberg@intel.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The function is_dfl_feature_present was added but never used. 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