Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3364395imu; Wed, 7 Nov 2018 09:11:17 -0800 (PST) X-Google-Smtp-Source: AJdET5eARUAmF5+e6BRx5Fd2I95fGR10HTPqs8Nnc7F+4BareDQ4K/4POfgal7/gMmNaiyWyYSiw X-Received: by 2002:a62:db44:: with SMTP id f65-v6mr1029662pfg.94.1541610677663; Wed, 07 Nov 2018 09:11:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541610677; cv=none; d=google.com; s=arc-20160816; b=Gb+jR3aE2PSd4WP24+pwq6pC+Rv+PpTKwOVxPPTSZK6SP5pLr0LlcOcFAZUFLYNIu+ B/qRXe+9IDieCO+31EPiI1ICJqlwMMti/zbBFnrXHvXPX2HgY/wq1ZOSuvsRHXolVIMI +Td1Hrb3SCY+PXBAE1fWywIf5WmF1JV6709quDhECokJ7YoltA4jKklWMwiqBm0ei9Ee TY9q0zeJJSYUk1oHlGeBKoUKvLwCI79DgYtBswhcoWExlhtI2cPFop7JrD6Htz+6pQaG xZENDgWAeTHfs1m4qY2ZoqRl0NyugxrFYyeu3YDSjWBtAZ1UaEPg/9g52AnzUxVkxvp4 5SFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=2Tl0v8vgsqcXWABbqtUZLHvnuhXk5TvAkw69FGiEAx4=; b=NSB3T+OoOOGFet3WnjaxQIheadGteDJyotU2tqtG46WsjoTg6NtNHiO9Jj1qYZA4mD pPb6MTGm8NMe17MhLSognOj1D/HNYtdf0/8COI+If9/V3MuV1+HOPJwdmKZPoJg3yJTJ 8TQmOpx4bmmPgA1U/QlsK4WlVKPWFMzSUGACmzfWN4ZLc/Z3Dz1uRGqcrEeyrbQURGdU Mv33UGFi8hGUsW0yE6hWW17L2n4dxCGmSLMnIYKXICbI6ohzDpJadOrSQe2NXZC1Y+Ws XjnJrGkA+N0kUaI+aZ8tuZQ4achWOjkpniA5HrcSn014k8/augZaeAgbfEUkQNG1HfNy 8imQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IhLNADSL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d32-v6si1187062pld.238.2018.11.07.09.11.02; Wed, 07 Nov 2018 09:11:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IhLNADSL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731484AbeKHClm (ORCPT + 99 others); Wed, 7 Nov 2018 21:41:42 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54753 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727870AbeKHCll (ORCPT ); Wed, 7 Nov 2018 21:41:41 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181107171023euoutp01c58bc775ba2e32416df613347ea81094~k5rHPmF-f2204222042euoutp01o for ; Wed, 7 Nov 2018 17:10:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181107171023euoutp01c58bc775ba2e32416df613347ea81094~k5rHPmF-f2204222042euoutp01o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541610623; bh=2Tl0v8vgsqcXWABbqtUZLHvnuhXk5TvAkw69FGiEAx4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IhLNADSLmnKSS25qDx344zLpTZkkl4ttN64971mrLFbui70oEQ/UiSKNLUknYCy0+ rl3Khze1aK1R/hE2yPhhmzkAyzXF8D8bfUseW1enPu1v/MtyQSsR2Abmcov/IvN4ha JQtZD7aaFQt1a9GA0rpiLXV80xe/rf5fi1JLW9o4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181107171023eucas1p293080dfae19c271a1748c8e22337a83b~k5rGlNAqo2800128001eucas1p2E; Wed, 7 Nov 2018 17:10:23 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 9C.54.04294.E7C13EB5; Wed, 7 Nov 2018 17:10:22 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181107171022eucas1p1c2431f0561d9b1357ab569ab77deca34~k5rFs8C421069210692eucas1p1Z; Wed, 7 Nov 2018 17:10:22 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181107171021eusmtrp1a8b28f2c742779585f4cd72f7ba758b6~k5rFhCzhn2472724727eusmtrp1X; Wed, 7 Nov 2018 17:10:21 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-99-5be31c7eeb5a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 71.23.04128.D7C13EB5; Wed, 7 Nov 2018 17:10:21 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181107171021eusmtip2597dad7f16cad0654585ff41af166db2~k5rE_fk-I0120301203eusmtip2d; Wed, 7 Nov 2018 17:10:21 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, b.zolnierkie@samsung.com, krzk@kernel.org, Lukasz Luba Subject: [PATCH v2 01/11] thermal: remove unused function parameter Date: Wed, 7 Nov 2018 18:09:43 +0100 Message-Id: <1541610593-28542-2-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541610593-28542-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSWUwTURSGuZ1OO1SLYyFyRJakEYMkLBowE1GDyMNENOFBX+gDVpmwyNph V6FEyxYgIgYQlYqFALUEqGURgbAFAihLMKAsCZsRNQVNiZFEQMqAvn3/f875z8nNJTBJE25H hEfHM4poeaRUIOI392+MuqXZL8k8l7fcqMbSepxa7spCVLnJgVL3jeCU+sMkTo2ONgipaaU9 pV/aURWZlXxqou2ZgDLl9yGqamqcR6k6+oTU8kKBwNeK1pXrEP2mbE5Ia9q/8mi9NkdAz062 C+jXlem0pqAIp7tX23l0gUGLaJPeMVAUJDoXwkSGJzIKjws3RGHv1EZh7GdR8mBzhVCJHljm IksCSC8orKrDcpGIkJA1CIZ1K0JOrCOYN2p4nDAhMGhasP2RmSIj4grVCNStI+jfyGLnxs48 QQhId2jVxpl9G/IpAlOnZjcXI2cRDD3W7EZZk5eg5nsJMjOfdIYvszO4mcXkZdhWvd1b5wif RnJ22ZIMgPIJ424QkP1CGNooxbkmf8hbmEIcW8O3AYOQY3sYLsrjc8zC+2ytgOO7kDXYutfj A70D47j5aow8CfVtHpx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KzlGhyPjCG80ri DU0NzS0sDc2NzY3NLJTEec8bVEYJCaQnlqRmp6YWpBbB9DFxcEo1MHowTz2Z11Gz73nh/bmG VYaTcvI6LqksSF5u3HOl89Hz5iSmenuXp+o+jYkyRoyRV9ieCnGZRBzaGa9Une7KtzQppXjh uh3v7x/7WL5S3HruF5uFWh28D8ysnv+rTN1il7H4ve/idbkT+nlcmF/GBy0/4pSgVnk2+ZzP SwZh9po/f6Kb9lyMUmIpzkg01GIuKk4EAKU767OpAgAA X-CMS-MailID: 20181107171022eucas1p1c2431f0561d9b1357ab569ab77deca34 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181107171022eucas1p1c2431f0561d9b1357ab569ab77deca34 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181107171022eucas1p1c2431f0561d9b1357ab569ab77deca34 References: <1541610593-28542-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean unused parameter from internal framework function. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Daniel Lezcano Signed-off-by: Lukasz Luba --- drivers/thermal/thermal_core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index d6ebc1c..39fc812 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -315,9 +315,7 @@ static void monitor_thermal_zone(struct thermal_zone_device *tz) mutex_unlock(&tz->lock); } -static void handle_non_critical_trips(struct thermal_zone_device *tz, - int trip, - enum thermal_trip_type trip_type) +static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) { tz->governor ? tz->governor->throttle(tz, trip) : def_governor->throttle(tz, trip); @@ -418,7 +416,7 @@ static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) if (type == THERMAL_TRIP_CRITICAL || type == THERMAL_TRIP_HOT) handle_critical_trips(tz, trip, type); else - handle_non_critical_trips(tz, trip, type); + handle_non_critical_trips(tz, trip); /* * Alright, we handled this trip successfully. * So, start monitoring again. -- 2.7.4