Received: by 10.223.176.46 with SMTP id f43csp2151472wra; Sun, 21 Jan 2018 12:32:02 -0800 (PST) X-Google-Smtp-Source: AH8x226EX/sS76dRpg6m/FKzonKBtR8m++3rgcBoGffHJbX5x/IqE0ctUX8TFKGHpGmzkRVoKgV2 X-Received: by 2002:a17:902:7593:: with SMTP id j19-v6mr2370423pll.106.1516566722785; Sun, 21 Jan 2018 12:32:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516566722; cv=none; d=google.com; s=arc-20160816; b=G5yRR+Sigduhazx/V6jXu9wUhiCIzUv2ANwFo4s+BzElAU127d8vM6kcgRcsu4lqKr B+3P2rCY9TuWQgMF1jhi0AjFyMlDGgPKtAW+tLCHeCZJHl9Rl+0URMAS4+VefAjsUG76 5Jtv+k9AL4ddjqtqBY0yckRC1egEJ08iv1N3qd5jbqKq1anq49ACOmZ+iY3jWnPK5120 StALFEIrDhLTmhBoPdwTURN55hGHTXgbDOHz9w8Z/TboawIFJBxvGIaRwuyVV14ZkWj/ PHa/2oWSeIeOnSmVJ9kNgJ5iTfJgYF1IH5fe/KqlNpQLm3wD1k3njLg+nKWB5mb5ZjLP ajdw== 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=S89hHV+sgaheITYSYn7Z7PikdbPg4rR1yTks9J83Qqc=; b=ycsHhxn/nWJN3xL45CeAbS6xVHVkCwzDIW3TIBFxduxNSLAbhioFzDWSUeht/ebpdt gefoQSyPlmrRv5+TpKHs1/dair0cM/eWdHQdiyTq9SxiR500RGw42zkVbxf08pW9OfzQ XnHTSuxTy+zBHQ+Z1K5tW49QyYGSfHyMiGDvd+VeKSEl3pF1WAQ1Iw4xiGSTooey+7Da CJXLzNPC5xCHfpzeynpkpsKLOYBIlrU5ZArd8i5+gq7EKfYzwifzqhk0B5+I27tHk7Nr Aqt68CPUMsD7I9qjovuBEA9VJv1rFUKDu5aJxacnGPNcHL+FbFlWv7xE9puZn3epwXUG CdyQ== 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 g129si13992046pfc.338.2018.01.21.12.31.49; Sun, 21 Jan 2018 12:32:02 -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 S1751263AbeAUU32 (ORCPT + 99 others); Sun, 21 Jan 2018 15:29:28 -0500 Received: from mout.web.de ([212.227.17.12]:51223 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750996AbeAUU30 (ORCPT ); Sun, 21 Jan 2018 15:29:26 -0500 Received: from [192.168.1.3] ([77.181.34.161]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MCImL-1eUneS0Pqb-0097EI; Sun, 21 Jan 2018 21:29:21 +0100 Subject: [PATCH 2/3] Input: cyttsp4_core: Delete an unnecessary return statement in three functions From: SF Markus Elfring To: linux-input@vger.kernel.org, Dmitry Torokhov , Ferruh Yigit Cc: LKML , kernel-janitors@vger.kernel.org References: <61183426-0b2a-4b93-933c-a2dfd487d92b@users.sourceforge.net> Message-ID: Date: Sun, 21 Jan 2018 21:29:20 +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: <61183426-0b2a-4b93-933c-a2dfd487d92b@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:8uXvFhR5xPvuwmuZYehA5UIPw4PL0XhBFa/xfKprUP9glEQ0FtF wEYQ10mbazVI9aAAZp7G/vIjzrQf80QqNNjv8dVZzrqsY1oId2VacraPlHlFKjqhdvzLBHe GcDLEpThpM19YUjX/2qDNzvNGHm3m2woKG3o2N+X3gBbSuE+S2dKWmCxP4ahI6m2T1R4Q80 B2Uad2so7avImiFImyStQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:H3SmFNq/HCk=:UncWhGDKBSEtsEMj1cV2Xk 3WTyJryqqg19NuxoETG4fLGvi1AuYdOGGsKtFx+T1bipMqr43GJ+rzo35vmjU+TUO8X9Vbku4 BO9RJT6CQfHd/4FT5CW/7Q9Sk66Wv8Ed6a0uGC9svAaXGkEAHAv0ddkfcVOZMoosBozltsDvC Nu2DkfS+6gsGYoUyRqeW8pn92LwuvvjN0giGuOWUqQKoGxjwAhds01wl40vd6f/6pt1IotEG8 ihCg3ofnSYMuZr9apKd0niip7R1UDLz/IZCM3/3UKpmwgShMKXIDtNPgHlpoWkalwJ1kbE1B8 xxG6waq6P0IjK/wGe80io6hVlzZ0Ga9zEBUiA5NhLsjRkqjy9u+8KbbB0qGAVbYsUeZ1WX2vd MEbDkGFF/u4xtKf3Hd0FxNgIde9M3tax2bWy4ngfe4oVtuSqAN5XkZlBiiP10JI70lGWLi3+N GKZq6WsenawBpESpma54I7yyfd2FkijBa4c/BpTWM2yZEExnz7zi2Dkpy9q6DtRT0liI/W8jo 7/LRv58XogRSRmCynkVukIQgLe9v4np03Q6/nawXo2mEbfaSZ8P5hpZXmOsw2mqZMegXAdPE0 37i2g5PV8pK04qieok9YdcXc+rSgSa9I1dUiCk9UCruBGKGjCONBPF16YFdOI1kpaclHeICB+ FR/FCS4pgHdWu/hLdtRYStC+qH+AfdbXh7wU2PLskbDA5qBLZtBI7lGIglYgm7CSIiu2rVwgs clEiFz2Eg1bm/MOEGrh67c8Vl774DHOQHf81zHV7bCOMadiSG11Thx1ywPzq19F3vHL11hYv3 MkUJcl6BrIzf+MDuSV0L1H1MSnM2VRGPvXUEBfMgBARVPSU+ck= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sun, 21 Jan 2018 21:13:21 +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/input/touchscreen/cyttsp4_core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c index f0bf3cc20e9d..35f48b66ff36 100644 --- a/drivers/input/touchscreen/cyttsp4_core.c +++ b/drivers/input/touchscreen/cyttsp4_core.c @@ -956,8 +956,6 @@ static void cyttsp4_get_mt_touches(struct cyttsp4_mt_data *md, int num_cur_tch) cyttsp4_final_sync(md->input, si->si_ofs.tch_abs[CY_TCH_T].max, ids); md->num_prv_tch = num_cur_tch; - - return; } /* read xy_data for all current touches */ @@ -1272,8 +1270,6 @@ static void cyttsp4_watchdog_timer(struct timer_list *t) dev_vdbg(cd->dev, "%s: Watchdog timer triggered\n", __func__); schedule_work(&cd->watchdog_work); - - return; } static int cyttsp4_request_exclusive(struct cyttsp4 *cd, void *ownptr, @@ -1492,7 +1488,6 @@ static void cyttsp4_watchdog_work(struct work_struct *work) cyttsp4_start_wd_timer(cd); cyttsp4_timer_watchdog_exit_error: mutex_unlock(&cd->system_lock); - return; } static int cyttsp4_core_sleep_(struct cyttsp4 *cd) -- 2.16.0