Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp773511pxp; Sat, 5 Mar 2022 18:59:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlwdOgsK+B0u+U56XD/1FE7N7zOIptehM/LgCHO7VbkgjBNYTxM53QC86UVAKgxBeZeqt6 X-Received: by 2002:a17:906:1e06:b0:6ce:70af:ce6d with SMTP id g6-20020a1709061e0600b006ce70afce6dmr4569173ejj.571.1646535541421; Sat, 05 Mar 2022 18:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646535541; cv=none; d=google.com; s=arc-20160816; b=FZNQzKKITwU07dDkpdWIbuzd2wPQPwY4GumEapHRWaty4rlVGRAUu/Td1Dxno9PWh9 dc3Qqxdk5NZIAWqd4+0qDTl/nNnNFQfnI8GvZ3u4ywWbyX7bf0sXAarTkL5w3t7RtCiC skQTRRH7DGmSOOX0rT5WVk1zdMD4J6jFh4pklE+BBJX9IAG+vWkTstGWjrAPDNnff+N+ rnlXkGSNLw3U+IMmwrrmZJDhVaRms6wol4LUE+iI09Wf80ANGAqLnc/HYsVwjjWI8sXz M0fUyeBPEVi48uj+KB7fxJy+T5bERjo39/nFUu8ooQZvKjVIeQ2KOjMZTSi8JGjpfdsL ESNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=y9pljp/pPzhOyhCwyrHJTvduYB4Oz8enqlds0O1sMPU=; b=clFIAbrqdLPhvGEITDNdco+h//gumUSQFAck9uEaaKcQl4/qnJwZAkH+4wLN2+0xE2 0sInoswphL/OX4nygjg3DxWnrgVP0O7/b+BUqXpFwTqZ0V6/5x9onWCYru3M7su3kjQh xQWRsXt67lAoxYLcM7qwHLHdAo9QjCO7CpblFZsy0VjaU8QBFAk4q4CKL/XOHUaTOQLp FcNqnc/Ybjng93dHiMeIp0i4EkRzaQYVHXYb9hzniTESLBJI2THk00VsNDeptAaMkrIG 268R7ysLwpD2FaiLKABf01IKySbbiRdQ5ZSQOW8OzHa7+htiEYptBTpFdJzUhs6LAoek P7vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="c6o1oX/Z"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a056402190c00b0041349e359cfsi6856433edz.202.2022.03.05.18.58.12; Sat, 05 Mar 2022 18:59:01 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b="c6o1oX/Z"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232022AbiCEQ47 (ORCPT + 99 others); Sat, 5 Mar 2022 11:56:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiCEQ46 (ORCPT ); Sat, 5 Mar 2022 11:56:58 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA3E14A931; Sat, 5 Mar 2022 08:56:04 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 225GtVwN011482; Sat, 5 Mar 2022 10:55:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1646499331; bh=y9pljp/pPzhOyhCwyrHJTvduYB4Oz8enqlds0O1sMPU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=c6o1oX/ZiYF9xzNXDZ9tjTeRB6WAE3NRV42QwEH+ZyP6IOgeXP6f2PkzzyKDhHG6/ iew7Mdumy3p+D4I19YkQC6q4W+vtoRcXS7jveic9ugdkbdn+FelRyGulBMExhVrU9F 0+D76l09pj2cpzi0iAUkG6hmn1+9wSiDuks6sFWg= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 225GtUT2082346 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 5 Mar 2022 10:55:31 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 5 Mar 2022 10:55:30 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Sat, 5 Mar 2022 10:55:30 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 225GtURZ076806; Sat, 5 Mar 2022 10:55:30 -0600 Date: Sat, 5 Mar 2022 10:55:30 -0600 From: Bryan Brattlof To: YueHaibing CC: , , , , , , , , , Subject: Re: [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp() Message-ID: <20220305165530.lro7ups4xv2injik@bryanbrattlof.com> References: <20220305125047.26948-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20220305125047.26948-1-yuehaibing@huawei.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On March 5, 2022, thus sayeth YueHaibing: > commit b263b473bf62 ("thermal: ti-soc-thermal: Remove redundant code") > left behind this, remove it. > > Signed-off-by: YueHaibing Reviewed-by: Bryan Brattlof thanks for helping clean the codebase :) ~Bryan > --- > drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c > index 0959632b2170..703039d8b937 100644 > --- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c > +++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c > @@ -107,14 +107,6 @@ static inline int __ti_thermal_get_temp(void *devdata, int *temp) > return ret; > } > > -static inline int ti_thermal_get_temp(struct thermal_zone_device *thermal, > - int *temp) > -{ > - struct ti_thermal_data *data = thermal->devdata; > - > - return __ti_thermal_get_temp(data, temp); > -} > - > static int __ti_thermal_get_trend(void *p, int trip, enum thermal_trend *trend) > { > struct ti_thermal_data *data = p; > -- > 2.17.1 >