From patchwork Tue Jul 14 14:50:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235532 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp201278ecp; Tue, 14 Jul 2020 07:51:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVM9OdO9yVMEisM6nGJyIG3zYnsniwYS9EiRVtwMmrq0gf2uMx0fKIIdywfqOCXLYc5aFa X-Received: by 2002:aa7:c808:: with SMTP id a8mr5085350edt.259.1594738280275; Tue, 14 Jul 2020 07:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594738280; cv=none; d=google.com; s=arc-20160816; b=WkZtwe5i50a40emOCovVtOHgx+dORxd+0n36O6BPYMTyNOgGS7BJ/Q/JoleOOt8HP0 ZR8MxZCzkk364H5X6wDblGWy2HgenPDmQIkM7zpA/3KuWHbNJUJu6huF3L5FBtYUF3zC zfdHmVB6SOmEE9m50rdwUHMoyjZrCKVCOa4zKljRizMCzwkwV6v3j4FqFXmURLINiZ3P S/CH7GxgRIOTp0PNxxtvwJkqh4d1JRfoS6Oe1+El2pvbyhWFgWXTNxnPMk5Gsg29ueXL 3YE3+y2T0w0OZv1t05ANd401b9M/XRepIDH0NurskivaufvSudPao8aNJhA9Glps70hV VF8g== 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=c4FLx3muVHP2pCB5GbFp6A725ffqNGbokYtDZodR17k=; b=Wb9mlviou7hCoU1VNqW+24dvUBvlJH/UJoGHOl+2cq0Xp4X0w2KzhA6QlVZUIA4dzD C1NXgYA3k6Q+TumWkQC3iAHe2jnwDJA2UYBN8kYph/hWIyJ6vByMRdPOkd8DSkt/ckhf WeyNNUNdyFo3lAL5/l4f0KbbosJtTT+MaYHNrVnaFPbgtaszQSdmMhR5vJAY5jkw/3Xe uW9wtBTCnzFB7Q13B83w6IYfrNIMk5D5PTI1g70/pm6ybWfTNb2prhgiOeTz3pMasmuV YuAjPu+gga9dHcl+sgulIuWeZIhGlaUZz1FVfhaCPWci7XMIBNNvp6gTxBwSCTuTbIU3 pQRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qjP2GZD7; 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.20; Tue, 14 Jul 2020 07:51:20 -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=qjP2GZD7; 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 S1728847AbgGNOvJ (ORCPT + 10 others); Tue, 14 Jul 2020 10:51:09 -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 S1728825AbgGNOvH (ORCPT ); Tue, 14 Jul 2020 10:51:07 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10B41C08C5DF for ; Tue, 14 Jul 2020 07:51:06 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id s10so22129406wrw.12 for ; Tue, 14 Jul 2020 07:51:05 -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=c4FLx3muVHP2pCB5GbFp6A725ffqNGbokYtDZodR17k=; b=qjP2GZD7DEKVihUDEr8DOQw2jWLp1ateuBsMjM0zK6Bb2UqoHJmPYlUHozDy416wNM WrAuxkpdR4itLlHHdt6zK11R6J+YF3H2X9qJZ66q2VApdxJKRjggHHHabWQwZw7hB96T QWs5bcfcqHQm4RaN+IvzHqT8YkR/SDeIgCjE/O23h5GB6yX7uF3f+mu5tH4VFffzfF2E fIKqvH4tnupS9kNadhZE35Og9MwXuvniL9jmbgbMP0p9qLqc/WadErfR6kfmfJxcmI4T vuRdQt4/I+wCmwLpf95BYtk6T5qUhTEM2vcn+XQP1s8jt4AyNsu7U5RSJOLSG0O1B47Q SZtQ== 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=c4FLx3muVHP2pCB5GbFp6A725ffqNGbokYtDZodR17k=; b=QhUj9aFnCnNUPvgPXTJxMVN3GKl7fzcrP5lUOi+ie9QG9hzyWSoj8lMt5YC96+IlG0 G5MPv6nQj40hvO+gHbnm//HLLs/LFiIG+f9630itIGOyUuqyVlkUV9qNqBPN+vIIxCK9 /TCwEhUu8RmCQODssU3c6lv6EmkoKW/+kApFTh1t9hOhlbl6BfgLeYrBPbPqzflmT4It C7iw0vJ7jeR7f/S4Vm2yGHUHpaFpV4WLMX8nvqHpOtVlUGKnBBncvecxN5zBBhEHZiiy b2NCoEDnDkmEug8GG7K/Kt5SxLtjoIUrYoEzLixR050J2WfGWbBmbuzKuMR0fcA1wiCU 8NFw== X-Gm-Message-State: AOAM532LjLv6T/97vFEDOhDXhwAtJFR/cQ74ARyeyA9tifDzcQFKIf3c KBiAQBhViDjDBfaktVDWjtDvmg== X-Received: by 2002:adf:8442:: with SMTP id 60mr6633538wrf.276.1594738264728; Tue, 14 Jul 2020 07:51:04 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id a84sm4653305wmh.47.2020.07.14.07.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 07:51:04 -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 , Matthew Garrett , Nagananda Chumbalkar Subject: [PATCH 11/13] cpufreq: pcc-cpufreq: Remove unused ID structs Date: Tue, 14 Jul 2020 15:50:47 +0100 Message-Id: <20200714145049.2496163-12-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/pcc-cpufreq.c:619:36: warning: ‘processor_device_ids’ defined but not used [-Wunused-const-variable=] 619 | static const struct acpi_device_id processor_device_ids[] = { | ^~~~~~~~~~~~~~~~~~~~ Cc: Matthew Garrett Cc: Nagananda Chumbalkar Signed-off-by: Lee Jones --- drivers/cpufreq/pcc-cpufreq.c | 7 ------- 1 file changed, 7 deletions(-) -- 2.25.1 diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index 5789fe7a94bd3..99cf8b78c032a 100644 --- a/drivers/cpufreq/pcc-cpufreq.c +++ b/drivers/cpufreq/pcc-cpufreq.c @@ -616,13 +616,6 @@ static void __exit pcc_cpufreq_exit(void) free_percpu(pcc_cpu_info); } -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_AUTHOR("Matthew Garrett, Naga Chumbalkar"); MODULE_VERSION(PCC_VERSION); MODULE_DESCRIPTION("Processor Clocking Control interface driver");