From patchwork Tue Jul 14 14:50:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235535 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp201441ecp; Tue, 14 Jul 2020 07:51:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdv3UYGmJeIQRCeWFkVpZjCSsjVIFTIOqU5bD1cKGYxT1DBeh/jIb5jA2CKkYVa/gBOTQk X-Received: by 2002:a17:906:840a:: with SMTP id n10mr4666572ejx.453.1594738296501; Tue, 14 Jul 2020 07:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594738296; cv=none; d=google.com; s=arc-20160816; b=Uth4kmDYraOTq1BDVEmO3b8jNmDcH3pjD89xU3XiztmDZoRXk2zQbcIGvqoj/cKOaH t9DgyzXGcjY+w705cNOCE/81MKdO6kHktdSuHbS/el41bL5MjkmW64b12bPARhbQJLPq vweuRD3dWo4aoMbvwnxSgvAUBe7dUvtlB8Lezp8qy2JibcLMdXpk3eesMvY27CXL9rjp Gt4YU0+CJUxUmzYy62CXO5V4/J25F9VPl9rFhWjYxTWXMlbasBpJesIvInSDXyPpgzKj /mD4laO4jB/Sa05KkrDZvI1+/cQrcI1eK5M4bFNK0or4yUTpGJSGjFvSeAbmvLkjpSh2 XFzA== 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=Ov8mkUGBo3MkEAlxc2kYHhcoEYaszqjEJyXig/T1tiI=; b=UdatZGs71VSmDG9+UVhZOXe8JvVEasYoz69iBFOKgSNgFvhEwRQVoi+nN6KT9d9pKf XqIdC0IIWeKmnxgkbW9bB6IB9gPwcAwLqUm2CuWCLBnPOzLoj4QTifFfe+ttftVJ+ZPe BcRbn50QDYI2GsqK/cr6oXoxpFBSzYkd1bPPey/fJ4I6pDqLkm8snXLw5ps1s1PCkwYx VDnxq2kzfubzf5eiQTtRoqQ2JLpkpHdzoN8L73hXoa8eumyKfXV2Qqz3B9O9CaDvzFoB 6odWqaEgFu874U6dTVf1qYQBYewEFutv/jUvltQLg0xumc0EoeRCCGtDN5mlCe18AfMF si9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t6daXhKQ; 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 nk4si10884744ejb.593.2020.07.14.07.51.36; Tue, 14 Jul 2020 07:51:36 -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=t6daXhKQ; 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 S1728947AbgGNOvZ (ORCPT + 10 others); Tue, 14 Jul 2020 10:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728561AbgGNOvE (ORCPT ); Tue, 14 Jul 2020 10:51:04 -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 B3AC1C08C5DB for ; Tue, 14 Jul 2020 07:51:03 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id s10so22129103wrw.12 for ; Tue, 14 Jul 2020 07:51:03 -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=Ov8mkUGBo3MkEAlxc2kYHhcoEYaszqjEJyXig/T1tiI=; b=t6daXhKQWGdOTczm6qL35xc0fppGdojfryPU3Yy+9b2M42Lz9lDVXu8Z+oQPer8/wn 66lWCuWHscF79MDsDWoRINbL+J3DI3JwRywYtB3y/yDN2fYApJvODwK9fVhtnK1i5TrR 6PwVmrMyZL9diMFGKxmlNMcb/U/bTKAABaKdcywqnPyqnVG8Qf3AUAoJpdZ/2pUkQHF/ JNbL4G/kUrCSGBLIjO7xXY9Eqm4CKdYlM/6mJNq99ZnUxi1hI/38z3KoHgnowKzwqcF5 DuKh916+E7/PuxfrO02rdsDIELOoLKt8hH+gN8cgun3vPBAXSTxr4R8r6rhWs+4/y9qb Zpdw== 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=Ov8mkUGBo3MkEAlxc2kYHhcoEYaszqjEJyXig/T1tiI=; b=JJ3XLFrtXPn9XOUCxN0dsmsQlu73bygS9czVB6y7wSEDTxSGrRqrajvwjk35VG0u1m LHicJvSxf8aAC15n9V9ZvaWwocYw5lYzvs/P9DDxSyoXdSXIyCpYgZ/soU1pmljzf2i8 v43RWf5DmmSjSFIMA0SgVpbguqBwy+09htQ3BH0KnX3ha8cQfPb88besCYyjpNLvKPKE 7vE2Gj34jh//KvfAvsm11CHgy7DOyIXc8ZztthaNQ7fGKSy3FAXQGEiSHrkf9DHZc2ER +p7UtcaGCEwRf1on2tbMuz6kg8+MeydFUmgRtUdeBv24TaNwXZVR8Y7YxIaJhARL0wlw YkSw== X-Gm-Message-State: AOAM530NliIE9LXrV6FTKzwb8sboyvV6OS14gheWLHE0apfRNXYriboe sDsvvONiVttBRV656grThDXjCBww8WY= X-Received: by 2002:adf:f18c:: with SMTP id h12mr5883468wro.375.1594738262394; Tue, 14 Jul 2020 07:51:02 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id a84sm4653305wmh.47.2020.07.14.07.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 07:51:01 -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 , Andy Grover , Paul Diefenbaugh , Dominik Brodowski , Denis Sadykov Subject: [PATCH 09/13] cpufreq: acpi-cpufreq: Remove unused ID structs Date: Tue, 14 Jul 2020 15:50:45 +0100 Message-Id: <20200714145049.2496163-10-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/acpi-cpufreq.c:1004:36: warning: ‘processor_device_ids’ defined but not used [-Wunused-const-variable=] 997 | static const struct x86_cpu_id acpi_cpufreq_ids[] = { | ^~~~~~~~~~~~~~~~ drivers/cpufreq/acpi-cpufreq.c:997:32: warning: ‘acpi_cpufreq_ids’ defined but not used [-Wunused-const-variable=] 619 | static const struct acpi_device_id processor_device_ids[] = { | ^~~~~~~~~~~~~~~~~~~~ Cc: Andy Grover Cc: Paul Diefenbaugh Cc: Dominik Brodowski Cc: Denis Sadykov Signed-off-by: Lee Jones --- drivers/cpufreq/acpi-cpufreq.c | 14 -------------- 1 file changed, 14 deletions(-) -- 2.25.1 diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c index d38a693b48e03..fc68f13352695 100644 --- a/drivers/cpufreq/acpi-cpufreq.c +++ b/drivers/cpufreq/acpi-cpufreq.c @@ -995,18 +995,4 @@ MODULE_PARM_DESC(acpi_pstate_strict, late_initcall(acpi_cpufreq_init); module_exit(acpi_cpufreq_exit); -static const struct x86_cpu_id acpi_cpufreq_ids[] = { - X86_MATCH_FEATURE(X86_FEATURE_ACPI, NULL), - X86_MATCH_FEATURE(X86_FEATURE_HW_PSTATE, NULL), - {} -}; -MODULE_DEVICE_TABLE(x86cpu, acpi_cpufreq_ids); - -static const struct acpi_device_id processor_device_ids[] = { - {ACPI_PROCESSOR_OBJECT_HID, }, - {ACPI_PROCESSOR_DEVICE_HID, }, - {}, -}; -MODULE_DEVICE_TABLE(acpi, processor_device_ids); - MODULE_ALIAS("acpi");