From patchwork Tue Jul 14 14:50:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235531 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp201269ecp; Tue, 14 Jul 2020 07:51:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLUUUPU0VlWw+CMVv+CBQmlgIL8ZYYl7fBKweo9BhCAvKwPqL0/844zVG27FntYr3gyaDH X-Received: by 2002:a05:6402:22d5:: with SMTP id dm21mr4879819edb.26.1594738279903; Tue, 14 Jul 2020 07:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594738279; cv=none; d=google.com; s=arc-20160816; b=Gz1rdO1tDJpfBMKara9+3g2Aj+PkV2bm50TUQAadrmKYoXxTRGAyKwF+8bQq3iq+Uy ZDCXnR7fiG69MO/fe9vUZqixiYWTgeBYBERqtkkBlilXGLpj/rRkRySrxp5DLGnpNhhv O0vAkOYOrCsCy1Qi+js5Kw0ohddeqZor7Lhy/gdNy+toBMawa+C+sDG7EdCdYiu3GCsC m5sML52bW8xe/Dc+okhECJt/Xf0TKDb9B9L7yIUhhRmkKdWFrR7+h+g77hvyhGaDnUoC t9N2HtU5JCyBR0mBKx6BwbzOrYhU9H6bjB+MYakAGf4xtSbcuAeX/WRBpC+dq6Nrg+m4 YOdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1l4G4IRouZ0WTRSlZcy5MrRuoV79BSQEwt+8MDC1zos=; b=08yl15qVVeeqyJ3tkyv5Rpys95iQUG0YzOmMetWO0iSzpAI7P3JV7dgCJbR/5k2Nl5 XZ/RPNCvQp/MxOekfTvCzHwsB//9BJTzHj8RU/KBc7L9+QchWQ0PW/trJBudilgokxte Ltmxwgcnojvfy26y15MTq3yWGV/z8SC5SbeEvYWPtJU+wNmqXNlkJ2Dhw7+r7RrqZU+v gUL1gJuFeTry24fK604URsAu8JN3pY7vUZQkf5CzA3kqspJZpIfdA+IBS6IXoXV/ybpZ J67f3Lgy5ZQjyZShA6GRbN07pcmbPqwIElI1GZp/KQ2VLG/nUvsivvtrzGDcmjB3BaeF BnPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wn2diMwB; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si8022025edy.232.2020.07.14.07.51.19; Tue, 14 Jul 2020 07:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wn2diMwB; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728854AbgGNOvK (ORCPT + 10 others); Tue, 14 Jul 2020 10:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728841AbgGNOvJ (ORCPT ); Tue, 14 Jul 2020 10:51:09 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC90C08C5E3 for ; Tue, 14 Jul 2020 07:51:08 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id z15so22181925wrl.8 for ; Tue, 14 Jul 2020 07:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1l4G4IRouZ0WTRSlZcy5MrRuoV79BSQEwt+8MDC1zos=; b=wn2diMwBztTukWV3a+OQNb47W076q9O5m4hlY8WUNk2ANeNPaT/CQqfi3zwQR1nGOg VSSBNKiAlDKVFIJkOH+19zNKugRcw4cpro7kI2dybo1tFgi8XfZSUt3XWqaoBeR3z+Av +BpmcNzyT53w8bXQHF125EFE/q99zFhEemyIkgKezuFYO+m6Wrr3L3utp3V8ZyiYB1a+ o30rqYQ6cOqjoSrfZS3gdzIETNcvOBwh9eiVRnEkHsqSZKnsldi6j2CGj6wyxxwcW7sN 6DdTvdz7/e/Gkt4GbQ+f9viLiUUW0EP2OA+J4uLKVRwzUHrW9D8fZA2LFwU5mGcjfEJU A74w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1l4G4IRouZ0WTRSlZcy5MrRuoV79BSQEwt+8MDC1zos=; b=SCdznfrEDOIaluZ0zAHBmlX9O3rUkjvK25DTCdViQUno1az8S5Ce25hCnUmGFIi3p3 VWJy9LGS9qotv6pgOtczTotRL8/gx2V6lgwlXGl09F6ETjpaKBmdZc1eDEch3bZJ8hdZ T40ED9B5BUZ7vf0HMNEW3syfU2c/2ybFrhK47pHtNZhrOoW7v5sikbr7UnX0SBWaSKA2 e8Y9ZV2brrzC27ZDCu9WIir4N3NE7iNKvBGOpEXwDJs1IWnfX+YUAKbrwVBajdDy30Dd u2ro6BGaqXr8D3yl2Q/r7/mSIrtI4NfzCeLXrBEDWeBKNg4Srns46CKPbt97/tffl3P8 r5lw== X-Gm-Message-State: AOAM531jcyiHyPXXwpiE4j1ZeDYHtjI60Ynv1xg8vP2+PI8nC8tKjjKZ soi/dxKZnRpdYznt8pSJuLjcTg== X-Received: by 2002:a5d:4845:: with SMTP id n5mr6034582wrs.353.1594738266949; Tue, 14 Jul 2020 07:51:06 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id a84sm4653305wmh.47.2020.07.14.07.51.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 07:51:06 -0700 (PDT) From: Lee Jones To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lee Jones , Jacob Shin Subject: [PATCH 13/13] cpufreq: amd_freq_sensitivity: Remove unused ID structs Date: Tue, 14 Jul 2020 15:50:49 +0100 Message-Id: <20200714145049.2496163-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200714145049.2496163-1-lee.jones@linaro.org> References: <20200714145049.2496163-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Can't see them being used anywhere and the compiler doesn't complain that they're missing, so ... Fixes the following W=1 kernel build warning(s): drivers/cpufreq/amd_freq_sensitivity.c:147:32: warning: ‘amd_freq_sensitivity_ids’ defined but not used [-Wunused-const-variable=] 147 | static const struct x86_cpu_id amd_freq_sensitivity_ids[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ Cc: Jacob Shin Signed-off-by: Lee Jones --- drivers/cpufreq/amd_freq_sensitivity.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.25.1 diff --git a/drivers/cpufreq/amd_freq_sensitivity.c b/drivers/cpufreq/amd_freq_sensitivity.c index f7c4206d4c90b..a17093729511b 100644 --- a/drivers/cpufreq/amd_freq_sensitivity.c +++ b/drivers/cpufreq/amd_freq_sensitivity.c @@ -144,12 +144,6 @@ static void __exit amd_freq_sensitivity_exit(void) } module_exit(amd_freq_sensitivity_exit); -static const struct x86_cpu_id amd_freq_sensitivity_ids[] = { - X86_MATCH_FEATURE(X86_FEATURE_PROC_FEEDBACK, NULL), - {} -}; -MODULE_DEVICE_TABLE(x86cpu, amd_freq_sensitivity_ids); - MODULE_AUTHOR("Jacob Shin "); MODULE_DESCRIPTION("AMD frequency sensitivity feedback powersave bias for " "the ondemand governor.");