From patchwork Tue Nov 8 05:09:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 9416591 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 EBA5260459 for ; Tue, 8 Nov 2016 05:26:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF7E022689 for ; Tue, 8 Nov 2016 05:26:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2BB51FF8E; Tue, 8 Nov 2016 05:26:43 +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 4207128B9D for ; Tue, 8 Nov 2016 05:26:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbcKHF0m (ORCPT ); Tue, 8 Nov 2016 00:26:42 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34224 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751556AbcKHF0l (ORCPT ); Tue, 8 Nov 2016 00:26:41 -0500 Received: by mail-pf0-f194.google.com with SMTP id y68so18128262pfb.1; Mon, 07 Nov 2016 21:26:40 -0800 (PST) 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=4gH/pbVZzEyYFntobK6zOI5zCsCsFfR8S5QiZVLUUBk=; b=eyEx4WZsl2EEQb8WpTMwd2PfrWtnk/GtQxMrfeWXi1ni2y+IKweDs2RYmTESlccUxB fJe/tb7WN3DOCL2pvm9CJlPRyahqniJewp6rmnwM2RY3wK5lr38DGUPCVLyhgrwjsr45 toK84fFPl74VpdLbMBjr42TcH0NC1RAHgKK36x0Z6fSjs4pscdiLzKXKWSekL1tsWXn6 dwmTmNc/ICuL3LJA0tX8DRnb7aYGpR0HGUJuvLwh+f/Vqu3wAjvJzhfWdxk6J7XK4/1X +wBbFYVMlrM8Pkkx+ZKqObf0wS4HiMa0JtXWSkIuajqn1xx098FDNeDZCQWIvbpn8RQQ DjxA== 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=4gH/pbVZzEyYFntobK6zOI5zCsCsFfR8S5QiZVLUUBk=; b=lEu0XpoWu+1gMBNvBv12e6TvvnPSy/4GjXonI73Kh6vQJf5RY4pNx7Q6zyQxP5eDx4 JnDk/Oh6cqRcVzJvyT8I9MD0E6UY/9y4Sn9Ux8MswArMjHrLPENj/faeTKcXrPnnmOfD xegA3Sq4IZJ3khqQTXqY9hmsPMbEhK2EMAMXIA5zmUIVSj1mjTYj+QKGUlFPCseQzvLG z/T69k70hYGbviZ/7MaBhaoxDmVIUby81/CTZPWOmwK6B3BBx0GAOT1wI8D6E7mSAng1 IGZJh/IjrilvhobrwK7sEv9rRDW2Xi223MRp+vkCl80tPGbwaIIzeFv1vt+7xJgP8BDj iXTA== X-Gm-Message-State: ABUngvf1SYAA2WCxMHiPqzagFPs8lPdFOq/onGZ8Ndh3eKlnJQxyvNPVXu9rsu3mb9A7Fw== X-Received: by 10.98.202.211 with SMTP id y80mr12027191pfk.154.1478581873048; Mon, 07 Nov 2016 21:11:13 -0800 (PST) Received: from localhost ([2601:647:4401:a2f0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id zf9sm20456721pac.12.2016.11.07.21.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 21:11:12 -0800 (PST) From: Eduardo Valentin To: Rui Zhang Cc: LKML , Linux PM , Eduardo Valentin Subject: [PATCHv2 44/49] thermal: core: remove void function return statements Date: Mon, 7 Nov 2016 21:09:22 -0800 Message-Id: <1478581767-7009-45-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478581767-7009-1-git-send-email-edubezval@gmail.com> References: <1478581767-7009-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 d33b29a..8365d0b 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, @@ -1069,7 +1068,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);