Received: by 10.223.176.46 with SMTP id f43csp2506580wra; Thu, 25 Jan 2018 10:54:06 -0800 (PST) X-Google-Smtp-Source: AH8x227yrBE7ZIJVthlMVTLi0z0jvDdL0D0L9urxa9h2En5jrjnmfEk7eGglcLOl1wretCCoxev9 X-Received: by 10.98.160.25 with SMTP id r25mr16985685pfe.218.1516906446738; Thu, 25 Jan 2018 10:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516906446; cv=none; d=google.com; s=arc-20160816; b=ZHqcDeeHrgoBNX7CXirT+9MYh3BUdq9QyidxH3cfGLaRnqgbZy8d8+Gy/dxXtrYcfz kbh53SYcyVS+eu3TBAkI76M2fkqrC+A9Y4e1Jn9qeohxB8lKaRHWkKQzFkBvNSwkzCPB 9eWeC6hOihToA32kuEgJtK913Zfl1y5eHTlEeDonxVYidLRB14trfN+ZzD3H+rTwrZUB HGIgZji7cbxF9HLESzCtnXMEvPO5dHKjXw9BBYvUzX6jnsaf+W24dfBocCWo8PUfe1kl Zi8BgtKESG/WnC3ptQj9u1/9OJSeLwXnsk3/vCj7jLBNdcafUFvxpSLpLwsWDqCylwYA sfKw== 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:mime-version:user-agent:date:message-id:subject :from:cc:to:arc-authentication-results; bh=1dT1lsTq6n6x9BAQ7EajjUE2RfeNXy02XEHC83XUCyU=; b=ZdUYN2uk9QvKDXlYutj0/ZEnm17TmDxn3UHjFGbb2EmjpCONA4a9112x6M7kzrsqF/ K43VJzNR5Y3XgnE7VsPL68jyV+xZFMHHym29QWFw7j9plMYP+ZKTq4PWw39vfTdd152f ZeIfb07xDtr+hOUuwUeurKx5Xk66qLyYa8MJHM/g5XrvIGwpFt6b2pMDggLaetSczdtY eziGHz465jK19RQu1XCUG+D6TCUvQznEoTXJ/wtZrOaz14zkcJ0DNgkWlB6vUfaB91n7 7fLUPpPMCTSSMW7qD7EE3Pqb9Jh6/bDITfZhlE3HUUkyPBlKiXmIZAgVWwg25iBhs2LD MIOg== 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 a23si4972005pff.83.2018.01.25.10.53.52; Thu, 25 Jan 2018 10:54:06 -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 S1751270AbeAYSvm (ORCPT + 99 others); Thu, 25 Jan 2018 13:51:42 -0500 Received: from mout.web.de ([212.227.15.14]:65266 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbeAYSvk (ORCPT ); Thu, 25 Jan 2018 13:51:40 -0500 Received: from [192.168.1.2] ([92.227.186.52]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lp7HY-1fJdDX18tg-00ex10; Thu, 25 Jan 2018 19:51:27 +0100 To: linux-input@vger.kernel.org, Arvind Yadav , Dmitry Torokhov , Joe Perches , Johan Hovold , Zhen Lei Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/3] Input: ims-pcu: Adjustments for three function implementations Message-ID: Date: Thu, 25 Jan 2018 19:51:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:0dbf0H1tA9MVQzmH+9zO9McUmEkCSUkbhC6wekFqiLdvJVZWwUq J1nza+RlrBLydfbNZi0RzlSqu5zcg4tG/PPdDvB0sBBlre6kQyR5s23hu42a1LYv2jwKRUI M8gxak9Gd3rv+x18W2DfEcXnB8AxPQCiboD1U2w30wdKHwUdl8KBctR8inlgr3Y4JK8zGAk S8ewtQtS4y34NKTG6buXA== X-UI-Out-Filterresults: notjunk:1;V01:K0:lWHFZ8X3xC4=:qEViRBg3SehhoI4x7cpZIF Nx96Fhx+q0k7rthRIc35LmW04Nq+kG4zORDnzuHGoeIN4U52jyvV2DUSs7gDpQvi8BUs77YmJ dqjBIjr4vVHttCfumwv42mN1iUU5th4bAmoRaRNuH9Iw+Tk8VjNSOf8FC3AsnN9DDGXYXXnfd /E+Ev8vpwnPBAgA2uAFoC9qBALgjjFNKuW++GIeVHIOw7xS6/PK6q0MKe8NPowxtxpGf2FUph XA53O1CmwtWbJj45MTIQZi4kxXlvcQp1W5R7GajtTDN3cheWImr48roNVzqjLmIY8LnqArHou UPThFFhPYOBsi8MecXQbcG/BJRGlSiZJaNPzHwgRK/mNecSRZp3iUkLUVj4tSvN/pCpwORhBB fRkbkLAN4GbNdCrjh6JFR4jNs95rp/mPRm8XbQLJgrbPt4I35Ws8V+Kwh98afSmI0j6WhyoAb eVW8TazIWVtQK3qCWiBrQS49DPw+EmiuOF9ZmYsrRNxzX0ZKFFvQHMdeLqpP6yJJzBT9gmrWa VIH3DRwceObbdfV/WcDN/WGHgRdPGF/iCC0LdJl3EhtlVBgZdglVHjAm2UboofZbpvf1ppcBb 4KvmSRoOepAik/k5DUE6exInJBOR00YM7KUY2YkhKqphMIvMfUViAwEtD5VuXUOl6nhM/ccZU sHnfV8QZUTPOyDMCaji1KWBVKoa66EAFyDEb0VCioAvBg+b2xxkGoJOB1PILPESY8fZxCJvGP FCpnjchzj606U3+QlJlW+cesC+ijDk+SgGexg1r06IXir7cfRZN5pJny9ofplybOpfKFzm9NZ zLHAmac1OYGGcqtKSEk2w6akFGROF7USbmQR2jppTXKbhZtsRc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Thu, 25 Jan 2018 19:46:56 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in ims_pcu_buffers_alloc() Improve a size determination in two functions Delete an unnecessary variable assignment in ims_pcu_setup_gamepad() drivers/input/misc/ims-pcu.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) -- 2.16.1