Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934141AbeAJPev (ORCPT + 1 other); Wed, 10 Jan 2018 10:34:51 -0500 Received: from mout.web.de ([212.227.17.12]:57118 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965425AbeAJPeq (ORCPT ); Wed, 10 Jan 2018 10:34:46 -0500 Subject: [PATCH 3/3] misc/ti-st: Delete an unnecessary return statement in two functions From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Arnd Bergmann , Arvind Yadav , "David S. Miller" , Greg Kroah-Hartman , Johannes Berg , Stephen Hemminger Cc: LKML References: Message-ID: <4b83dec4-c493-eb70-f60e-6bc490821d4a@users.sourceforge.net> Date: Wed, 10 Jan 2018 16:34:34 +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: 8bit X-Provags-ID: V03:K0:tYNr0rkroP5vtHm+gOMD9w/7aC/Qyj4NjOmphKzNt59O0VFMsPK qI+Roth9ZMag7QseUi03M6upZ8Pypu9G7Uk+tB7wnKbJqB6N/mm0xCaUeMMU6Uly39el+aV AVfbKC6jk8v9D9s1E1bLMiM0uM/Ip0Lt2goAcuc5AEjLfdo0cVR53qQHgVua3xVywee8iGA /rIH/lzsnDdeYqsyQyaKg== X-UI-Out-Filterresults: notjunk:1;V01:K0:sS9LhKzdeQ8=:m1/Pz6K8yvjejRa95ziOB3 Hj00xU8+6THHW0xVVey+2s+1K9RZTpGZunqU+zm6mvLGR9R63vf9/i7gas47x1Ty9cAE9tyDt VxdBSxahrW5MCvbol7xMD4kGpzaMbtAIivDBiUuMB0Z7nL907LH4kz0Q80Q2xGDOWWVwG2YHh OEs/pfVDsn01j2QGbSKMhFksFukbO0O9ciRITECyHaXHESOzxXgEfFU14ffqlzNSz3rLXVd3Y TsGFA6JpEl9zlIRMpAbJxlJPhR+bdQBr4ehAmlaM39wnhJMywLwSVNYju8asBNIWB9taOE/iP Z1aCYiNBmcsk2C9USuYfH+zylK9td1RXK9ZsG4/FTP0c+6VeZDsWNJs18IK2PM94nYT1SlgaQ IhwpwPsn3ErSN7vMbMRV0AI5FfyGhuWsM82BGiPghh9+4KBZAAcT+tlpidF/zNbAHYTsmERAI GE4XTrRHJpmh0TdCnt1k8t/zZWBHwXq7Kf3kLkFqGa43EFj4WB3LFwYvw/3nDu5z43hbHCslC FHZHO6YViaAtR7pKdBGYCMjsJRWMOVsAuPNbv6H84dpedsc/xxm7LiXJ6iWdZ5r5iKFTKYYNy fP0LGBD2xK/viD5+1+z5VMJ/+DNCwoTvdTy3sKKGGWaMz/YMVgj+OuLjRIssYxxb4YQSp3stA idZAGRT6JmGzDTE1v5oda7WqeMd9VQLryGMkODUAz0L8d5/XZuRK13bgwogIxDiPg9Z+OPxKZ jYuFGfNI1HK+V54ILVqYlBI3Ov3pL8+GzpmZTVtoP0HaCqdF10vPpIT2Eo7Poh2MBbIAieU8H VK6gUPjtjW/LraGtwAuYHwomdKpBg3N41/a5q9r+I5eSNcFDko= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Wed, 10 Jan 2018 16:16:55 +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/ti-st/st_kim.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c index 948e3461d02e..e33eb4bcb608 100644 --- a/drivers/misc/ti-st/st_kim.c +++ b/drivers/misc/ti-st/st_kim.c @@ -206,7 +206,6 @@ static void kim_int_recv(struct kim_data_s *kim_gdata, kim_gdata->rx_skb->cb[1] = 0; } - return; } static long read_local_version(struct kim_data_s *kim_gdata, char *bts_scr_name) @@ -436,7 +435,6 @@ void st_kim_recv(void *disc_data, const unsigned char *data, long count) * from other fw responses when data gathering is complete */ kim_int_recv(kim_gdata, data, count); - return; } /* to signal completion of line discipline installation -- 2.15.1