Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5283835imm; Tue, 16 Oct 2018 08:00:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV61WCyPYGSe2BB8XinlzFbv66GC4mNcoSnSNwl7ZeGkInICEpOuEr4UY28rRqeVMHsvX79Ee X-Received: by 2002:a63:ef0b:: with SMTP id u11-v6mr20494492pgh.283.1539702031531; Tue, 16 Oct 2018 08:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702031; cv=none; d=google.com; s=arc-20160816; b=JBGi9/XC25TWU/p6Sv0hs9gnDDze9iEBblRL0Q/NNrp1hFxcQ5xOvncBY6zcik5Wit UtCLWlk2USjgqd/CYUMTXI8ISWg3q9c4MT6ZSmqWUbU2EK4YsKXvAJrj95M1nYPpMOY1 9fT8TkC6I5QQdt4VGObh+RxEP4LUMhIwk7X0QHg8kH5kwsOAmj+eBY38qjuDZmtb1qn0 J8DJNFe16aiNwMaGovRaVK58Y9FgDJxgLQEvLK9P31No1PEXLmy+IEej/ictN6x8kAsT Jvh8f8FM1Jf1VRkdo9OvTQQvRwp1hnitTjjcVjlDSkfs+iDxw3MNoD85253Vw0nW1S+8 Yp3w== 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:message-id :in-reply-to:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=rzIY2soOD1M1UDKrc+X0WCeYTqj8P76+NMfULbIsJ2U=; b=P7BodpP5pLPEsbMr/oK5GOrHmpyfNhk57JHSdqgQhKo7DOuAMOQ8u52xE9AgHc3QQS A8nwnR/ynwvsnKLo68oFt5XeeWH+3g6W7X433uc8tIPyduXt3bVrW3kkee6ivXY2/9BF Uwb/FTe6Ll9xptahO3C4p8XIjLPqZygByfYDGBDYZ7ZUbisuyBh1Sk2/ajSXYXPQPvP9 4sb2vYEwsr6b+O/+Ex4JMTp/LMrbZTyMfvqSVYvd2/mr9cNlIkI6iAPAdsBaFjm7klr1 iho5/xswdUyKGW5ioOdCAKNmjL4N+h7b12teJgY7id90CDN/4R0ulwmav3WG7Pn1FFNh ZwIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=PTNnIF58; 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 p5-v6si14064733pgl.343.2018.10.16.08.00.16; Tue, 16 Oct 2018 08:00:31 -0700 (PDT) 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=PTNnIF58; 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 S1727184AbeJPWre (ORCPT + 99 others); Tue, 16 Oct 2018 18:47:34 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57142 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbeJPWrc (ORCPT ); Tue, 16 Oct 2018 18:47:32 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181016145641euoutp01c35e96fd4cd49f5310397ce393d3d4f5~eHqGLUYor0427704277euoutp01Z for ; Tue, 16 Oct 2018 14:56:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181016145641euoutp01c35e96fd4cd49f5310397ce393d3d4f5~eHqGLUYor0427704277euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539701801; bh=rzIY2soOD1M1UDKrc+X0WCeYTqj8P76+NMfULbIsJ2U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PTNnIF58IJnjSRSzGNNCPwbFv+TUW5KygfYRjiYWlLzIvNmSsuX1nLUcnzr5FXTkR N2YvUZEYLsEQifDWYFXW2EOnbFaLaqXpfC51/hfdSrxi1JJVxif0hhnRp/8UazfayJ 5rtfFvRZ1JY8s/G6ec/XMMUny4RQdWBePEoVTwMU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181016145640eucas1p162bf0e36a8d7db602c3d928789ee413e~eHqFbtohL2235322353eucas1p1w; Tue, 16 Oct 2018 14:56:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 0C.21.04806.82CF5CB5; Tue, 16 Oct 2018 15:56:40 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de~eHqEkMsUc2218322183eucas1p19; Tue, 16 Oct 2018 14:56:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181016145639eusmtrp165f659ddab39bdb22db15bef7fecbfd1~eHqEVGxf61176711767eusmtrp1r; Tue, 16 Oct 2018 14:56:39 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-74-5bc5fc2822e1 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A9.D9.04284.72CF5CB5; Tue, 16 Oct 2018 15:56:39 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181016145639eusmtip2f891a136be7dc57e6b00280b180c6454~eHqDz4e8d2832928329eusmtip2K; Tue, 16 Oct 2018 14:56:39 +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, Lukasz Luba Subject: [PATCH 01/11] thermal: remove unused function parameter Date: Tue, 16 Oct 2018 16:56:12 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539701782-26852-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSa0hTYRiA+Xa2s7PR9HSU/PAaC1OTZmLSgVIMgw74o/oRRAq19KSS22xH l2bRfui8YJqK5nUqmpPhBc1MRU2dOsW8dZlTC4k0S9GkaaVI5Tyr/j3v814/+DCEaOQ5Y7Hy BFopl8aJUSG3fXh78rj37lD4ibItX7KluJlHLvalA1JrcSMrByd4ZOUbE4+cU7uSrR/3oFpT yyVfd5WjpOXhICCfzExzyLSeQT65+CEHDRFRDdoGQHWWvudTNd1fOFSrPhOl3pm6Uepp7QOq JqeAR/Wvd3OonDY9oCyt7heFV4Vnoui4WBWt9Au+Loyp0Nbx45eESU3arxw1SBVkAQEG8ZNQ U6xBs4AQI/B6ABcaSgAbbAL4TVdkCywA7vTp+FkA22/pmiZYrwPQULqB/utYa57mWYtQXAI7 9Let3hEvA9DSW8O3Bgg+CuCcrp1jXe6Ah8Dvb9cRK3NxT/jis57PHuUOZycy970AD4Nz5iqE 9b18+Ox5spVFuAr26DQc1p+Dk+OfeCw7wBVjm22OKxwryOayzMDxDD3K8j2YPtphqzkNDUb2 aAT3gc1dfqw+C18aelD2wXbQvH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nPW9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXA6H9k99fDdnI/3zVdurLkG/unvmcX vzqzJjKK+elcvGRV+5xlw8+oKd8kLteVPgyWWhqXNUvF8Ev4pbhj92Tz5r4PmcZgcfnp/C+Z YZ+05h5vWe9S3RAo3mz94k2B9/p1TB2zWrTPVnWW1wSHTl/UcjvQJZnxvf+D3SG+GddTE48U Gkx6bVgkosRSnJFoqMVcVJwIAPcXyrCiAgAA Message-Id: <20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de~eHqEkMsUc2218322183eucas1p19@eucas1p1.samsung.com> X-CMS-MailID: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181016145640eucas1p10d60eaf07c6a4b0c539e46053d2ea7de References: <1539701782-26852-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 6ab9823..2c6d72a 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -313,9 +313,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); @@ -416,7 +414,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