From patchwork Tue May 31 06:18:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9143409 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 71A5F60761 for ; Tue, 31 May 2016 06:22:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6602028213 for ; Tue, 31 May 2016 06:22:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AABC28223; Tue, 31 May 2016 06:22:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DA9728213 for ; Tue, 31 May 2016 06:22:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbcEaGWm (ORCPT ); Tue, 31 May 2016 02:22:42 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35798 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755965AbcEaGUq (ORCPT ); Tue, 31 May 2016 02:20:46 -0400 Received: by mail-pf0-f195.google.com with SMTP id f144so17826117pfa.2; Mon, 30 May 2016 23:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eeDWXA1txNUganLGBRP5G0T4RRvTVZnZhcd6WvtNfpQ=; b=Coq9882hsS3RYF40p3bFpSxgLD3wisVukxH0Bqt1N7jeQzcFZUg5e1hcvRIvTTaL1D hnM3m8ypjsN4/Nc92ywTzOs/eJRU0b8e8vunyFRvqNWS098SXX1SjJS5nbxGioSDtye6 TOyTqZgVhi8401f9++D5YBXMTf/y6Vl1E9T0nIj8rr3dFIZ4x0DUMoa6KRF4YXQCCL2g oQLUGwUYqJf6gBFUYdZgunKMvYjktBdrxTv0b6mFHuJHlAq84+q0czPS+UHYeS/MuLTx 1A6DkxRQuaILsLqilhd0DA8j8ngFepZMKRmC3eBdLDwNA79OirY123CMDTO8g5Xfijb8 bFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eeDWXA1txNUganLGBRP5G0T4RRvTVZnZhcd6WvtNfpQ=; b=Y8j3ujAWpacwNGXEhGMXfifsrQo//GH3c8HKeJXOxuWliTW29n3vOR6ygRKdU09tFZ Sc7/tWlDfSUkJMJ47ax8/8Zj2pybDI7uDevbjwAhi13z93w9DknjfgabQuoQf2Yiy7CZ wNa+2UxpsaXObQXUQwGlhv5g3IRg8Zbdsgs/6CgU0K1dGECYsASQOlpwY+xFAEcofmEA SPN8PrzlDzK60+I9LBrKr1Kuw0tvypYTEiDJvRjXBkS8Ij8D/IH2zWvItK7uHQk95rOA 5y2qOEom470lFWMN+gmuXmlwjLluBYLiKe6njc4rltdzGMLmTLpnJqe91LCK8b0h6tMp Bx2g== X-Gm-Message-State: ALyK8tLcxmJy24K3GZBwC/dodHonntiuh9BgxYmbO87cIlGQ6RDD9GEDm95n1wp9rLDxEg== X-Received: by 10.98.27.216 with SMTP id b207mr51990770pfb.111.1464675645943; Mon, 30 May 2016 23:20:45 -0700 (PDT) Received: from localhost ([2601:b00:c501:3660:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id a5sm51696930pat.19.2016.05.30.23.20.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 May 2016 23:20:45 -0700 (PDT) From: Eduardo Valentin To: Rui Zhang Cc: Linux PM , LKML , Keerthy , Eduardo Valentin Subject: [PATCHv4 44/48] thermal: core: remove void function return statements Date: Mon, 30 May 2016 23:18:51 -0700 Message-Id: <1464675535-2433-45-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1464675535-2433-1-git-send-email-edubezval@gmail.com> References: <1464675535-2433-1-git-send-email-edubezval@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Simply removing useless returns of void functions. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 3f1082d..6e248bb 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -202,7 +202,6 @@ void thermal_unregister_governor(struct thermal_governor *governor) list_del(&governor->governor_list); exit: mutex_unlock(&thermal_governor_lock); - return; } int thermal_zone_device_set_policy(struct thermal_zone_device *tz, @@ -1061,7 +1060,6 @@ void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) release_idr(&thermal_cdev_idr, &thermal_idr_lock, cdev->id); device_unregister(&cdev->device); - return; } EXPORT_SYMBOL_GPL(thermal_cooling_device_unregister);