Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2035336rwi; Sat, 15 Oct 2022 07:04:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM798D+BfLN+XHMcXkb4t69tf0RWVlJ2vV441ggPnyvGZvtOwl7Qf6RhO4SI5Ydc/knY4RPH X-Received: by 2002:a17:902:e3cd:b0:17f:9c94:b22f with SMTP id r13-20020a170902e3cd00b0017f9c94b22fmr3017899ple.80.1665842656920; Sat, 15 Oct 2022 07:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665842656; cv=none; d=google.com; s=arc-20160816; b=n8MV8nGSTa3xm3H41TjvLQX48BB4vhRjFyy8VhEk7H0pGQss3ksraQ/wv08HM0ykVB kBY+ikeYRSnbhOiGgt7EdWq3C7zzGQzREqCZ/dEN2ocJY1yx3vbeXlzjKJh3QioCtmQX fTMdCkuHyvezUmhQ5HE4j8kvf//y+sgCbmh0jbswvj8JY/wYnaqA/XTu3QJFrZVJU8ZX IkB4qjhAnPzzAkUescikGBDy0Ypm0OM8zVPLJEXyhZVfLgOWvkR+tSWI3LRKULPq56h5 uDoe91b5wY4BTrWyVQQ8Dp9D60s4mGj1tOEclp5Mn+TQnqtQku9hzLan4MLRifDxlrQj YorQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vmXoNNLDLDLD0P7pKCj+BHy21pHCA1aEV+oXYAOW2vk=; b=mV1Vlqc6de8J9rgmpIpcM+rmqGbG2izeKCUVdVT+saJtoSYPmgPRR+sJRHxyqyxnpk jBIXyfwzYozmOh3xpPEjpf/GH3xYOC19aMWRw1pNZjQlQzgVebcIHr53QzLFaZ5tRsCZ PSRKd7HMtB/nCeO4g6lpzD7tVoDJjr/yis04xBZTARnHVHR9itBUV9fJwtjndnptdEek idPHx3OifuJGsC5GqHFUmHND8IvN/BqhzitiCypkFi8bujH5kwT7gXfFbQeYiUFw0yFm fGMq+CFlyzJF39skj8558D/W77uWg/b9bT6mxuUB3BZKtmMoGoiLi3Uj4TuNl6AhVlVR Mp7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KD1l/z5J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a6541cd000000b00439ce36e9d3si5928961pgq.570.2022.10.15.07.03.59; Sat, 15 Oct 2022 07:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KD1l/z5J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229811AbiJONE5 (ORCPT + 99 others); Sat, 15 Oct 2022 09:04:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbiJONEp (ORCPT ); Sat, 15 Oct 2022 09:04:45 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45D8D15A1A for ; Sat, 15 Oct 2022 06:04:44 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id az22-20020a05600c601600b003c6b72797fdso5698059wmb.5 for ; Sat, 15 Oct 2022 06:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vmXoNNLDLDLD0P7pKCj+BHy21pHCA1aEV+oXYAOW2vk=; b=KD1l/z5JxEtz6VLtNyfLQRz5xjiZkc3OHsZofFSBtslzVUOZsPgvt54LTkB4AcV/Co 7FnwYPJZxbnr/X3zoZcyV6GfZsbe1YZW88yyP/8uo064uQOH2NFMgXpiUCSTvNP5Iauf huN/oS9EO3pzWUQszcvZ1MODVNLMifR6DnN9AbluASxv1LMFA2wCxHp1taXME2PZYK6g Tf9SPdrLDzB74Adtj1pzy4IdnTp0DdJqc4MwuBzvoV6e6Jy8pFfnZFL4MGDD6sKRNtXi ofEmwPH7vhWHtAUTB63a9HnIkY8owgyWpvLxLw22djEpRsvqE1MzoMenTxAp1XqflmrX Yo2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vmXoNNLDLDLD0P7pKCj+BHy21pHCA1aEV+oXYAOW2vk=; b=2FtYT1pBLk54UrdXOGGCKd9E0aDAhmRNJokjHdUhYPt6Lr+QKEL6P2Da/+lFmM7EgQ 62zWicG9rxwrCrndkWGOYZ+YGGoiLWatsYE2DmTzSW/A5qIdaMDsWzWdXFLqrufOnW9e HqYcq97Jand+muGzkQnOHUiBjRi1k2l92ONaHfcpz9XhiAnTK8TLCCBGZ6c67CAGgMb/ dTDNTF/Lyv3EK3D574ZpzxgVqm7Cea9T8Op25eQpJVwwHDZDgOAgcy7cPWKwQs+JzciL 20zlugjpzq0cVFzsi6HUMwVrasa4IzyJxi9RyBlpQP9X6if9ANJM83YOp9y/ajg0mSwW ItUQ== X-Gm-Message-State: ACrzQf1QBkxsjTGJ1/QjxyckekiYq0P4/eUWwSjaMMiYunhmA+kPBN1R tCUCjitnYomcvd+lVKrmvJEA3Q== X-Received: by 2002:a05:600c:3844:b0:3b4:becc:e43 with SMTP id s4-20020a05600c384400b003b4becc0e43mr13653476wmr.33.1665839082742; Sat, 15 Oct 2022 06:04:42 -0700 (PDT) Received: from radium.lan ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id r12-20020adff10c000000b00225239d9265sm4151282wro.74.2022.10.15.06.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 06:04:42 -0700 (PDT) From: Fabien Parent To: ilia.lin@kernel.org, agross@kernel.org, andersson@kernel.org, rafael@kernel.org, viresh.kumar@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Fabien Parent Subject: [PATCH v2 3/3] cpufreq: qcom: remove unused parameter in function definition Date: Sat, 15 Oct 2022 15:04:24 +0200 Message-Id: <20221015130424.1923706-3-fabien.parent@linaro.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221015130424.1923706-1-fabien.parent@linaro.org> References: <20221015130424.1923706-1-fabien.parent@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The speedbin_nvmem parameter is not used for get_krait_bin_format_{a,b}. Let's remove the parameter to make the code cleaner. Signed-off-by: Fabien Parent --- V2: New patch drivers/cpufreq/qcom-cpufreq-nvmem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index 82e0339d7722..a154f03666fd 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -64,7 +64,7 @@ static struct platform_device *cpufreq_dt_pdev, *cpufreq_pdev; static void get_krait_bin_format_a(struct device *cpu_dev, int *speed, int *pvs, int *pvs_ver, - struct nvmem_cell *pvs_nvmem, u8 *buf) + u8 *buf) { u32 pte_efuse; @@ -95,7 +95,7 @@ static void get_krait_bin_format_a(struct device *cpu_dev, static void get_krait_bin_format_b(struct device *cpu_dev, int *speed, int *pvs, int *pvs_ver, - struct nvmem_cell *pvs_nvmem, u8 *buf) + u8 *buf) { u32 pte_efuse, redundant_sel; @@ -223,11 +223,11 @@ static int qcom_cpufreq_krait_name_version(struct device *cpu_dev, switch (len) { case 4: get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver, - speedbin_nvmem, speedbin); + speedbin); break; case 8: get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver, - speedbin_nvmem, speedbin); + speedbin); break; default: dev_err(cpu_dev, "Unable to read nvmem data. Defaulting to 0!\n"); -- 2.37.2