Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934978AbeAISdc (ORCPT + 1 other); Tue, 9 Jan 2018 13:33:32 -0500 Received: from mout.web.de ([212.227.15.4]:57223 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbeAISda (ORCPT ); Tue, 9 Jan 2018 13:33:30 -0500 Subject: [PATCH 5/5] misc/pti: Delete an unnecessary return statement in two functions From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Cc: LKML References: Message-ID: <2741f1bd-ba63-8ff6-e88b-4084ac608b65@users.sourceforge.net> Date: Tue, 9 Jan 2018 19:33:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:QpTQrUjTDMZdNdczTyVlJbbkmDVFXgpoFEAo0BdmRwBkLYFqDXT fU96MeruzXivwCkOSnot9+YJDwxXsMNheOJcbjHzhUv0bWjbNDOrbi+IH4fb5CJd/h9Peuu iUMQ7TVqbOkrL5GMWCFTW7qj5Fz9QuB6EBbrPZTdXY9tX9qLkxHHpIqNHNyoUcanOcWPukU FW8Jqu8XiVSTIOkQQyHYw== X-UI-Out-Filterresults: notjunk:1;V01:K0:EuDauwCdJVY=:dj2cQkJG1IhVFtdIfwnVaa 3W/aAdnKVCzNnkU7U1LXcaQ9RfQ1n81pdvU78cxyygCH2lEsU7hR2KuSXuEOOilvw9Gpr1LMf ault5kBofgxiFaY6rVH0rK+b+GWELBa4cqIhYz9nmDCdOIDZHwRwIz8777GOHRjXqyikLA4ZE KiPEmCLUG4cRAaT2XcTzfZDj16QFwraPo8TK4baXni19jlZ+AgMsuIrAROfmdLLAAjgN93Irr 03fFkhcndLBhFEe16TvII+UnD6LzvcxwbgsFMHZ74wxzCTPMnx4K5igRee4NrI0T+0T4z/7gh 5DBpCPEc6hTvpP0k6Z7VkRJ9R/AbU7N1z5TYlaRc27zw2XhainrKH2geesN+yNdIsE4rHVqhI Yq8iJloRaslkj9WIy8Mpqe/1rvyTO0PwzAwnd1L39mQGEtIUM2bt9Rc4BM+Q22M2kxZNYVwLr QgqrY26VVRfGJoLiOiiisyB+AUgZOJMEUv0zr/Ftp3EEOe3LBN9sHsewnPf0CuuITlE5sSkwN 4hnCGubhNkcozu2YVo1SRIo6dBBhl5KlNDk9w4tKqm/nZtSYP/ACZEnLplcFaIIpqHkTjqCbs 4MaEA8zqJdBhqyZe+ElNy1gJ0rbceyQSOXLk6r1TDNfE7geX+dua8QVo/vSKV9HsWG0431uOT kxknqdI/86M+7osJ0ftdycHWY5XDQSty5XutNaClsLrncNwk0uAGPvDaYoHn897xJA5IiDiOY TGM5cj0QjJsWua58NR/M3MTqAieKXx0DZrFW8Qy147d6Eso1Jxu96a6ovaKP9YkOeoWFdhTDd CsLE/bkTRtFIIv/U7reXb+Op+URLU8HDM/9Ozoao6ygvApXzyc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Tue, 9 Jan 2018 18:52:36 +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/misc/pti.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c index 11d92c3f43ba..7f9235e56cc0 100644 --- a/drivers/misc/pti.c +++ b/drivers/misc/pti.c @@ -142,7 +142,6 @@ static void pti_write_to_aperture(struct pti_masterchannel *mc, ptiword |= *p++ << (24-(8*i)); iowrite32(ptiword, aperture); - return; } /** @@ -390,5 +389,4 @@ void pti_writedata(struct pti_masterchannel *mc, u8 *buf, int count) pti_write_to_aperture(mc, buf, count); - return; } EXPORT_SYMBOL_GPL(pti_writedata); -- 2.15.1