Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp475156pxk; Wed, 9 Sep 2020 10:06:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUMPAqv50+pctzSBmz3lZ+mdaVWHTRP+i3gyUCncM111BSeD5i9Fn5vEU+0cMG6yAiGoQV X-Received: by 2002:a17:906:3785:: with SMTP id n5mr4950268ejc.218.1599671213072; Wed, 09 Sep 2020 10:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599671213; cv=none; d=google.com; s=arc-20160816; b=EhNoE0n3+He0p1/xryzOGqJF/3QprrOxUg0+qyPjI+UlyXC/5SrFlJ1NYJQxc9Ln3/ pXDw99EltMKZCE6vWzulXkLmJLVFfldt9WS6fAO8d1euTIpDnYCcLAJHbpM9EZKSws0A 7Rv8UrV43CcQXX8oLvjJ2iZH1ieIAxbK+eUJ//G67/NHlMAjvNhHF0wPZ68S1qPbW6AA EPBDSal3Nbbf5GWt9Rj8q061uoS4+tmOSEVXLjy1p0TrThtvZpqWWEwJKLknLwGeMLTg JIZRMQ3/gR8494NUgZ2AWvRXoWGrQU0pbRlAajLYqo0owe0XWV+C9+maI01p767Mn2+c EaLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ZktVA/zj30YBPv0mkJaZ8A0SJt6FNoGMrtfy3f/LOF4=; b=r6739w+i8MsE6Y687f+zIG1MWPqsjuIyXYj90xV4kD7urum1QtI60/OswIZOPSsQoh I2IYUvzE3EK/THp88u3Pb8RUZYmQpnt7GKk/kwXrGLKUzazpY6synEj4lss9xTJiaMf3 w4zoG1tab+MYYQdWKoKTg11yhnQQE2wpN9eXgQvTMH70qqRWFKQPZhyBeJzR9S4Ki3xz D7KHspI8Go5kVtd6tzXW9iSUuoLVQZR0JjdqXOfzrmB6vwr0PpTByVsZyCYzFsp1nHKk M9iWy/BEyNsOllTbbN25gkL8bfnfLTo61Y8FHL2YDD8ze+3scmvA3r8H4XOiAQIzZGVW Howw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x40si1922859ede.602.2020.09.09.10.06.30; Wed, 09 Sep 2020 10:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730652AbgIIRDz (ORCPT + 99 others); Wed, 9 Sep 2020 13:03:55 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11759 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730349AbgIIPq3 (ORCPT ); Wed, 9 Sep 2020 11:46:29 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CEF1D1ADD43EFCF8CF07; Wed, 9 Sep 2020 21:44:58 +0800 (CST) Received: from localhost (10.174.179.108) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Wed, 9 Sep 2020 21:44:49 +0800 From: YueHaibing To: , , , , , CC: , , , YueHaibing Subject: [PATCH -next] thermal: ti-soc-thermal: Remove unused function ti_thermal_get_temp() Date: Wed, 9 Sep 2020 21:44:48 +0800 Message-ID: <20200909134448.30344-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.108] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit b263b473bf62 ("thermal: ti-soc-thermal: Remove redundant code") left behind this, remove it. Signed-off-by: YueHaibing --- 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 2ce4b19f312a..93b28c7ce83d 100644 --- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c +++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c @@ -106,14 +106,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