Received: by 10.223.176.5 with SMTP id f5csp761495wra; Sat, 3 Feb 2018 09:40:38 -0800 (PST) X-Google-Smtp-Source: AH8x224wlhY142IBV4CcKUUX4DYgeg48U3H5Cj+qO09puev5RZsMu3oqW9v69ZUuIW8jH7IXuoYy X-Received: by 2002:a17:902:424:: with SMTP id 33-v6mr38069796ple.57.1517679638860; Sat, 03 Feb 2018 09:40:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517679638; cv=none; d=google.com; s=arc-20160816; b=umY90ok2TSebm2o55XwYHAU8EZ9WtlUg1B26ZCaPH7vZxqhX7A+jSdxKUEQQIZYlUp ZdETn7TH1jzMjHZAiXEaw/EMqT5pZjqDytPUNeNj3pwQspr+Aq70n2xnFphXIUJhd+zK nED4YSXR88zOmg5RKrl29yeo/ujYZ6AxY7cfG8l/bk6WSxYYB4O5vWFoEgHJ5qSx4B8i Gumqb0Jcn+WHn4kMqiBAUS0hVNE4PaVcxz+j6uxZMulAIzGflg6q+iJqVEd2RAIhAFQz sRZ6wFfei1ek3xUD45EBpPVJQDJ2GKp/o6pWJR6x2ytK2TD67OhE03WO3Ci0zbfSss8R Tx8Q== 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=g4MVNfX4Q90eGOwWHiEttXgHZ+XlVxzixcg/b/GHs7s=; b=ofpDsJjihkP5ZHR1I/S7YRXNPrCIf7FGbdoLUTjDtapPvWRSisqYN/0axEQ4S0N+Ad OI/NLo20TlbY8mFwnfqszXDCSP0TbyaSh31gItFi6fRpznDkttAaxU3WjGSowHT7GHlP yuXASgxSXFCZUxcbdtRiE5NROffD+SUVr5Q2vg9hfoMK0P3T45z6baF6AtmMxGFrbJD+ N5X/u1BCNhAnEcop4nm1R/uDvtVX8cyZxz+JCE1c0QkJm3rqmtEG2mki+KVQHYleSUPU acBJcQFaVbP2f/NWiVvfAD5maCM9iYmKeKSXYkaJneabfH6k09e8j5rPh58KI5yiiigU sJbA== 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 s185si1331492pgc.308.2018.02.03.09.40.23; Sat, 03 Feb 2018 09:40:38 -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 S1752716AbeBCRhB (ORCPT + 99 others); Sat, 3 Feb 2018 12:37:01 -0500 Received: from mout.web.de ([212.227.17.11]:60285 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbeBCRgz (ORCPT ); Sat, 3 Feb 2018 12:36:55 -0500 Received: from [192.168.1.2] ([77.181.226.140]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LsyNK-1etLJl0QMk-012U9E; Sat, 03 Feb 2018 18:36:47 +0100 To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/6] HID-Prodikeys: Adjustments for two function implementations Message-ID: Date: Sat, 3 Feb 2018 18:36:46 +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-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:mZvbURv6r/3PKjUKd60aEXttgR0BqgWB8Xq9qc22ilJTxx3QdMi sI5LkrqMj1gF8RC4ybUIbT7vwM4MagrKEXvGBjcyQ+LSwbk40xBj3+BhKPyplYiqi5SZtcD h4w5o+i2HKTz6g+yVAEYBLtCMw0A1dUaWyCXllwjUR3Qv08AVsgWy9UgfCfGeeli3YtaraT QUTqM3hGKAH1PyT0qRCBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:nd1qUHjbaWU=:vEJvf+TWBXhQejMi1NYQ1j SeRVMHoHkYW+EHngC5GP/A0W/4ttW4RSSt/hhQ0Hxf16RCAfUp3yCthL0pXy9WcO76npR11j2 SdgP4RSYpM0l9S5q71XAeav3wibkSMT6VP3es8V6oy1x3f69KmoVdBhYt8++lAZhKk+tB0DbD fagHZFBAQLihcbNu9n4Wwy+hykqvI1WWNNbGWfjyD0qELHlTOwqBjUGRwisby8t2QzqH2YoVA lyM0kMxhQyXz4hDNAyEGxRritmbtHBZ6rCgy73haEYupNXj+WlelDD7+wxeWKoe78weSBWF5w /WGoqsn50b74mFeHPioP4fKx4y2p+AKxXdQA7NtLQiwva8XXrYiVThZHe7Fw7u8aHYKzzR1Z7 9fi4Wvz2N9oRUl5D1LQrQUtjON3UT1ZYiK1G0FVV5/TtSKzUY9aeezvUS1zmE8fEWjj8v5PzU HbNauGuLXs75jDsPzpV5RrEIG5VEl16OhDz6rcOv7k62WgrqpCR+co+Ns0oKHEL/5jfPSXUWP VSUalg78Q+zntga3uHK5+cq/Pes4qlj0KoUrDRLl9c8VjnuH1biJvS2jydllijSXoslXnAWoB r8s8Hy0Beb9kPNzAYkqV/0gVAd3JPfM0B6kcs7ZDcK09jGItZ4IslKy35kd0JuzJ7+1rMnFpM kc8Jt77Ow/7y+vSgiT8YFl3GIBPF4t7QAPy/AwFRSlC0X3OdTR6eciAQmj4gKFIuf8UppJziL RmoCe/8hBwKLmhFwciAB1xae6vhUcGmRHpiavcAIjHpCsOBa9nM4STINiXvtSjvEX0q/8H92n WVtsR8iDryut/P/jL/JNnFn09PcZf44fQqybUjivaqhg7QK1kU= 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 18:21:23 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): Delete two error messages for a failed memory allocation in pk_probe() Delete an unnecessary variable initialisation in pk_probe() Move an assignment in pk_probe() Delete an unnecessary return statement in pcmidi_send_note() Combine two condition checks into one statement in pcmidi_send_note() Rename a jump label in pcmidi_send_note() drivers/hid/hid-prodikeys.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) -- 2.16.1