From patchwork Tue Apr 25 15:15:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9698471 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 8AB536020A for ; Tue, 25 Apr 2017 15:16:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81A062862A for ; Tue, 25 Apr 2017 15:16:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7427F28660; Tue, 25 Apr 2017 15:16:33 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 034462862A for ; Tue, 25 Apr 2017 15:16:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1949433AbdDYPQG (ORCPT ); Tue, 25 Apr 2017 11:16:06 -0400 Received: from mout.web.de ([212.227.15.4]:64217 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1949263AbdDYPQC (ORCPT ); Tue, 25 Apr 2017 11:16:02 -0400 Received: from [192.168.1.2] ([92.228.145.161]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M9GHu-1cqLfW0v1C-00Cme0; Tue, 25 Apr 2017 17:15:56 +0200 Subject: [PATCH 3/3] HID: Wacom: Delete two unnecessary return statements From: SF Markus Elfring To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <40f97a94-1df2-c50a-803d-7b66b641eaf3@users.sourceforge.net> Date: Tue, 25 Apr 2017 17:15:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:cDKNZnGZjn3NDUr4q1o35um3coCAVV8ZkhElerSmO9qSiV0uZQr ho0LpZwV96uzw4rrNTrvmoPu7BCNe5f//EEo8d4Kwx5V4IL5u3r0czDZdYSL5C4gmH2mEZ+ UZbztDb+Ot8TY+OMlfXDeJJbFgEdaLmsYOfmNKDRFMA3UODbSV9vw+wqY2p2jBQxQKIsL+u Vgdy91Y2x+fhp073J1kTQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:G20wUZiN1bk=:GM3vLRQlX8cjpRAV1XU70M 1eNrFu0Z1G22fykJYY01kDr0PDd3aoQwx2e+aQMkJsCpiJv6n0ijmmCIhEXahg89yDthXGcMw euS2vvHsCSZkLodu+/enBVdcZV204p8Kpa8zeMMakWDLeTU4hkrXS/FqHJFkxqx40A+qwDbl8 wzkepRLirXSb5Wc+Pr0rk7pjcO2E/254BJv+fXZOzcYZfhbphh2c+zEhKowT3noGkBRri2N/C kPdGPsNtaxMhjRk7JpBZJPviBUKpRDUe8HPowfN7yHISoK2kunoUmxrtLZVz20Mb4Ksj3Oaht n3S1BDpVU48hYTZUgbtrVnKuBAs1tjXxfajaQSm9l7o4zZbtIDyv43qCTevyZWDgmNEG2KXig sTKyoCeDKniWIY1BA6CIykDduWy7Ow55TmMgyfkwlUrUuOutn4AlHBEow/8s3VAySZqv2yfVx Ki0lw2B7d0dXyebEB/nR1FI30Fa84mVIobH4IKeA2D3SlQo7tzYZYiUyx0xRELeG7QJ47RQ/P RH2mZr666/w51YQmsDx/aUcsx5F8DNBDZgmclLnqt5jRHHb03bISIhkP01yJFBtPWVWwu3aNv dwjZBF1UWMikcOTzONtZYkUCjJdi1lK08SciMtg3JgR7cVMmHoRl5Ryzod95sh2N1GnTU2hLk hAG+B/Chk/RqTHHColZFV2/JW0d+6XvstxC5SdCdbd7ui6WZnCMFNymOip3KK3KrC1MkhkA85 AQv9hYBnQk1N4Q4MjT0LUmsEd+CpvHG7MaFhJB1QnlCHtLGR017ulDxFNrJaJeSuJInNCX7pI z+QSa+s Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 25 Apr 2017 16:50:02 +0200 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/hid/wacom_sys.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index 7517da5300fd..f70e7d7351c7 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c @@ -2329,7 +2329,6 @@ static void wacom_wireless_work(struct work_struct *work) fail: wacom_release_resources(wacom1); wacom_release_resources(wacom2); - return; } static void wacom_remote_destroy_one(struct wacom *wacom, unsigned int index) @@ -2534,8 +2533,6 @@ static void wacom_mode_change_work(struct work_struct *work) if (error) return; } - - return; } static int wacom_probe(struct hid_device *hdev,