Received: by 10.223.176.5 with SMTP id f5csp763554wra; Sat, 3 Feb 2018 09:43:36 -0800 (PST) X-Google-Smtp-Source: AH8x2267qml/FlgZKVfVV75XnOj7pyhyCELZ8K5DRhZaIwRsGbgE/CoIF/3IoYWu0ve43fXRxoDU X-Received: by 10.98.231.11 with SMTP id s11mr43736709pfh.174.1517679816738; Sat, 03 Feb 2018 09:43:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517679816; cv=none; d=google.com; s=arc-20160816; b=S6yRhzOkj5qewEr0N4qratw3lzgeXeBxALXIFUQyvhQMUCewfGhdgNIRlfrSAj4fUW je1FEZDaeQdWgRBUdi5U3S4EWI7vbcZtfGnZyAO0FmEyP3QSwgtTuIG3Krlc9uuQ1cAI lm10I/TZu/DcwTlHrL4d2nd6YoeY+HSw4jftcQDurvxh915Vo1E+aSt6aEmmXnUERcdb fq1uIQ8W5lqHYcHaUmOkRHtksrkyTRU0bmALY9N8n9RfbhFcmPVWFTgYT5DFOlfh3NkT eerVT0NjJzJx0aK/gRn0rS3j1MgzqNywIQk6uvIXc8Zj8BajelsyiJzFdehUGt5mUUz8 0F+Q== 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=jvybcUWKxFewX2G9VX9WvP7Py9V5d4tV+NTLZXaSQzY=; b=jvoGt+RE7iNrwwmhZAb28ckbrSYfSQ9MfwnHaURz4dxMBFKNDPOuqrjgzsD/Zdkikk Qallp6GjGsNiGZRMNuEKp5IpUlyywb7ipf+1u3YDIi8piSpXixLW0q0tJ47SFkQc0+RP Nq5jgOZC2JOnMkukZRRLK5gYV7Ev+GL07Kp/PAR/5lHLUeuDwyaMforLdFDjB1cwbmxu Fg1y6zJ1iuWeSwuEtT8j3GXWNiFdvs+5hxyWKWLsRjKQIFcORkJ2iBNFfbDy7N6ggdfJ 5D5CPVL/6IV8CfTuSm0mW2z0MbDg55iCgcaXANv9qlGTZV7LXzZCI+xTIcpcRufNzgeL wIhg== 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 be11-v6si3875219plb.239.2018.02.03.09.43.21; Sat, 03 Feb 2018 09:43:36 -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 S1752792AbeBCRlG (ORCPT + 99 others); Sat, 3 Feb 2018 12:41:06 -0500 Received: from mout.web.de ([212.227.17.12]:59098 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbeBCRk7 (ORCPT ); Sat, 3 Feb 2018 12:40:59 -0500 Received: from [192.168.1.2] ([77.181.226.140]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M89z3-1eujNC0LpZ-00vfO1; Sat, 03 Feb 2018 18:40:51 +0100 Subject: [PATCH 4/6] hid-prodikeys: Delete an unnecessary return statement in pcmidi_send_note() From: SF Markus Elfring To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <92011980-048c-f44b-a064-d2a917b2f51a@users.sourceforge.net> Date: Sat, 3 Feb 2018 18:40:50 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:A0ateQuqRSztQoEzyiAm8VEzdrflCrRky16fnYym91ikL8k76dq xojm/Gd11jeq5ArqvOvDTMuYY19xZUEpLfXvRn3jJ3r9OO1SrIkpNudegD7TvASfVXDZOHp 3MDuMM4VJPxOnSTcJJZNl9ZtJ6vX8xJKx/ej9uPGCAoolFVgH+ez1tP/7P3DPpFQZZc28Nt YqxaYsfG2dmrDFFQ0DWQw== X-UI-Out-Filterresults: notjunk:1;V01:K0:0wmw+7zsY6U=:IYlOxyOP/3NNWm9ZFP6xfR Ya/9Kxqgmj/zdkBu0ZYD+jQyYJc7qHTomdi650N0Q6AMaEI9rpnd0e2WaMU2ltV/V4qE4+tE/ KYHRUWFqwWx8hZQOwRI6cHNtvwi1IHy11ezGGU9MH208XNXFK3hrBHvBGmlr74zMgRL/rHziE Fv7OkkITMmJQC5TOqfcZnAwyYwBhmMeMdJMyw/6p0VcGBl6bJxIUxh2zY66Mw7Pj2NPWK1fIO A3tLkm+dWCxx5x7swJnFPwP7d9M/jADEf53fudeauF7F29Te4qi35bRmgcp5XdbZq6DPxfR4h tWfIKrjUafTp5AnW6xCGTf1iZBD3rfBDwwSfsDrPps/dRDcfaBNol07LeFC5WOpFUuMzY0dzL f6a7BcZX0oBRaTN9avff0p8Y5Tsic0hfOxkLdsNTXoUhlIZsj+SxS4dhIl4YPKVY1OV5HUlGY hpuVDCaxX0V4vdhpnCMdrn6lC2souqy91fHzPtO+7Kpkbn24xhcVn4QuYW3xd2BWWmTvoYJx+ QsMWdQv4oeYA+Sl/yRLW2pjmx1T13pDaE9Afs3qwkCzibSXFmDDHCSAmJAWxnmagOKGUFibY7 UF25vmvHGDmw/VrdLB1kONy2SAoy24h25Pu5Q3pTkuN2+JcIuUU5wLt5sriWAedE4XfDNXsES jHF2GBfVWU/dj+x8NBXzF1yFmiykwz8V1N+rOAYOBC6KyBPtmAC6a604Nk1IWmJKNaPeEGMt1 BjHTOa0j7T8nNg2qwfzmo8uWH0p9puNCFJEC2AVzqnlBLl7sUMyp8PiklCe8ey8hqOuy3S9K8 aPagqCoIUSIitvCW5hmkJnsBUcN0vDu+B3Ir0GKcTxtzX3qOKs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sat, 3 Feb 2018 17:33:40 +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 function. Signed-off-by: Markus Elfring --- drivers/hid/hid-prodikeys.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c index 7672f723b268..c9eae92ad429 100644 --- a/drivers/hid/hid-prodikeys.c +++ b/drivers/hid/hid-prodikeys.c @@ -235,8 +235,6 @@ static void pcmidi_send_note(struct pcmidi_snd *pm, drop_note: spin_unlock_irqrestore(&pm->rawmidi_in_lock, flags); - - return; } static void pcmidi_sustained_note_release(struct timer_list *t) -- 2.16.1