Received: by 10.223.185.116 with SMTP id b49csp751526wrg; Fri, 16 Feb 2018 06:40:20 -0800 (PST) X-Google-Smtp-Source: AH8x226tfjrAUlNGdfKxTKpZjV3hQ6od5/3TeFyx9GWRx1gof6ypDvj8VUpmwwF1kKuTA0UgZ3qK X-Received: by 2002:a17:902:6e8c:: with SMTP id v12-v6mr6047870plk.424.1518792020207; Fri, 16 Feb 2018 06:40:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518792020; cv=none; d=google.com; s=arc-20160816; b=psKVUAjKOSQC60bmRTbMm9cAhyQ96fe5NerNj/qXxz7+UKupV7r9ot5FL0UKKJS6WD sSsVbOhPy4HpNIYrt61LJ4xvhK6sB81A5ERqDkCem1KpyYSeoE+R0+1upEIkO73Gggvf paRedp1zSkqj4yUbETiyRRaxi4SJU9mZakpVINqNC1tj3NiHUvnJ783JAmWD++PUa3eU iiXxnKIdo9TSQfq8x4Qwiu53iyTszqqyvn59tv0NqJ66FIb9AjAkUbYbELx7ywMrwYyg MhZvjKX7oBmShv4dxgtSi1wVe1QNSOW/DD0w9QSbmoS710ZYnS7vU4Cy0gWK3R9V88A2 M0sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=v4j0GCq3btUWp+WELXVjk6LKHLRBRp1yOmxi9EvgnR0=; b=m0g1N0Uur6ypQgm4mOTrmLZn9w+soJBXBPyBVhwBcnYAAqAM4i4SVXCpGZ0+poOPiX FysvDlnDh5+4GoIuslxwEnI8S8NqA1/cwJP1Yu1SZJ1RyPHrosFWNWv9M5CRHTjhVxpR Od3I/KrYtff5v8vU4txb00YLeLzX/wlff5LfMS+704Fnug5T/AlDbihe/YdicjKPACVp MUxZesSZsOWrcTEjaqxPQzyAmsu5tftnqTGTocQMmkAcv5eT4iHTk9tcDh5DhQQlyUMy 0hBZ9c98/obhyCABGTg1DPmKue99JsuOeQjBFxccWNuCrwvVZBRpse+3E4WI/JFY7E7v ycVw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si1626663pll.334.2018.02.16.06.40.04; Fri, 16 Feb 2018 06:40:20 -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; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755489AbeBOTai (ORCPT + 99 others); Thu, 15 Feb 2018 14:30:38 -0500 Received: from mout.web.de ([212.227.17.11]:39655 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbeBOTag (ORCPT ); Thu, 15 Feb 2018 14:30:36 -0500 Received: from [192.168.1.2] ([78.49.142.64]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MJkxE-1elImE28CC-001DRM; Thu, 15 Feb 2018 20:30:34 +0100 Subject: [PATCH 2/2] cpufreq: powernow-k8: Delete an unnecessary return statement in two functions From: SF Markus Elfring To: linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar Cc: LKML , kernel-janitors@vger.kernel.org References: <4dd36236-fc39-19e6-c1a7-a094cf13469c@users.sourceforge.net> Message-ID: Date: Thu, 15 Feb 2018 20:30:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <4dd36236-fc39-19e6-c1a7-a094cf13469c@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:QpPPgSY/BJsWv7v3BsXhtQhkocKTTHpMms+EPL7lTi+rdk4yekM 6CbdQKFTrc60v7vVZ6e448Khtkd+lBEBcVMyY2/9wew866O/7sE1FKMndMoxJIx2KmOinzA BZsYCeIqrY+P2+ntE0Co6RR0bPXKy1KfCWUYPnGOGJZ2mt5XA+r04nL+zViFR2ZLmX5zAZX +HvfwFdRaJB4vW6H7QuaA== X-UI-Out-Filterresults: notjunk:1;V01:K0:LhVa1OE4k4M=:W4Rs9kVhl7UXq9xKGjeJ/H mEWUQoc2efy1Qujd82VeF7XcleKbrrb5lsJj0bSJ8DWz86QYvd4ECjXjoBv8W+NH8szcTI65N +NqiN0ozbd51Jlehrbnki6QRnyPlwJZhOw/pSl7EuN12FY2ZPDLAYGgPRvv/N/ulrX4fyDOGF bYMnyrYoZ1ibXgt5KQjkKJraJLVb6XARu/Db4YbsdDbir8nlwI89YsGMr4DEHfhy6CM/TdtQ3 xNK5I0xBbOkcRawYtr6zlat7FBB6A5yJgKa8Atn8/bBPq4b3s8uqZ8fTsEm8cWWM+R7tH+Ohx fIyOlkCEc9dhImgnW42T2Efre9R+Ig4oSrIWtr0af9+tbDYJVgoVsb2u1zjPc1+btw4xuN/2a Px2xMSYcUaaKtkq501RiYSqi1jfpZ667WnT2VhMB41fVjbko/v/JD8ZkyGxbMQbTjIbaoPuPY EuquH4iD4ZtK9uo/F45TvFM9xeV+OfeXIvH/OTYNARIGIn2O7RgpeDta4NLXJwRhC73iZESpn OY8eTHbvDp/1+zTOzmj7FsGAxwVXcEYrqtczaIQzArAfMewRHpUXr8gCJk3sPVN4kwyP6YcIi 2WVeRm4AupQ+U4W6d7M7lNKA0ETYdYaTNcO6BOoeXNQ+OaQ0fPT8I5LYkHdR7ceSGF93/4JEJ w4Fwr1KKwaQVLyxFvChwHwmrkqRx2UxfAuFUsGfDjs4bGbuVcV69lrAWb5CXz2tJlcWtnDvrh Q60SoCdXz9BFZIKtjX4saS16jdQJ2i13AE2db43DNLtaZfFfrNpkNHhLgZmIfimLz3xBB1OI+ bJaj9nQmGlw2unQCoPN1f6PcFjyA4WZFmvO2CtHtk0eACAw56Y= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Thu, 15 Feb 2018 20:14:32 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring --- drivers/cpufreq/powernow-k8.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c index 460bf22a8a2b..782a8c2a359d 100644 --- a/drivers/cpufreq/powernow-k8.c +++ b/drivers/cpufreq/powernow-k8.c @@ -122,14 +122,12 @@ static int query_current_values_with_pending_wait(struct powernow_k8_data *data) static void count_off_irt(struct powernow_k8_data *data) { udelay((1 << data->irt) * 10); - return; } /* the voltage stabilization time */ static void count_off_vst(struct powernow_k8_data *data) { udelay(data->vstable * VST_UNITS_20US); - return; } /* need to init the control msr to a safe value (for each cpu) */ -- 2.16.1