From patchwork Sat Jan 2 20:56:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 7941001 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 530EDBEEE5 for ; Sat, 2 Jan 2016 20:56:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 895D12039E for ; Sat, 2 Jan 2016 20:56:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B48E420396 for ; Sat, 2 Jan 2016 20:56:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752090AbcABU4i (ORCPT ); Sat, 2 Jan 2016 15:56:38 -0500 Received: from mout.web.de ([212.227.17.11]:55423 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbcABU4g (ORCPT ); Sat, 2 Jan 2016 15:56:36 -0500 Received: from [192.168.1.2] ([77.181.40.156]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MEVhF-1aQgRt0EbB-00Fh1V; Sat, 02 Jan 2016 21:56:32 +0100 Subject: [PATCH 3/3] NFC-mei_phy: Delete an unnecessary variable initialisation in mei_nfc_if_version() To: linux-wireless@vger.kernel.org, Aloisio Almeida Jr , Lauro Ramos Venancio , Samuel Ortiz References: <566ABCD9.1060404@users.sourceforge.net> <56883849.2080304@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <5688397F.50701@users.sourceforge.net> Date: Sat, 2 Jan 2016 21:56:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56883849.2080304@users.sourceforge.net> X-Provags-ID: V03:K0:Wlti3YPpJFBScYQAAXptbIG9fZ6xJrWf1KXAJ30L0LFTrkm4Gmw 1zMOYZRgfnE84Wgejwet8RBoTHCjMDA6HnUkt7CDz7YtFNQqVTXa4FSeUk2p4eL5xX/7LV8 I5UFr9CFrj21ajGJUSYLkhjBNFttZZFD187VrBnGYYgo8YgUW3OeWqLxQlNsDTAWycTxOnR 1ybChSPJEsz3NaVSHoEvw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Dk3JUHgj+kI=:AJAkq/UFjPxXT3IlWXlRzS bLYQYqSN9+3EkDl4jFldHuQcDzTRwta1mWTner4C7YoNSYwCVMcW0S7EKVeIy3ahrxzzC4Ck3 eJ6lACYR8rKeqt2Z0PxqugiUaMKFJcAJ3Hiog7zEnE3zjLnM8SEmqhuSw/6uKXN2xkpPRzInR AXKGcXLLbCU8FRbVvnyrWlzIqD2vkoDCopHnvRiHtfOr8MpPxV7LDLVYR1jPBLYOPZXjuXJQc xCsp14xDXvlnShcBPoVP7u1YlWGiNfBm1kVN3bypkVOOW4i2StYOOBAX9MF743ugF+FYTy4ay KToSrp7DwKMW2gydxtifOw+M1SjLHa0SJ/lxWGtqD/siZKwyYYXOy82wbQvgNhlACiC9ung23 2NDDTyN3FnW618EZotsJ7H22iX11m4rspeaUFLl++jDdgAN8F0PhR2/4NjbHnhMyTzEE7sisI 4dCtdnv14jA+r6SqBKA/ufRsp/nWfQZZdQDdxlnv0FU8yGuZt5Y56NkmAx4MhqfDGS8UOEiqJ 5efmZ/tEh4k9s6mX8pN76zqvzGjbYIRecSZmx390TXqplTCkeKvW977zxtFOMFgDI+tT0Vzym cydwSa1k2dQdAzCRRQNUL8GCi5BB4ym7ODHypZAl/voLlkwG0aXiJVlRyqdq3rIaPkVx4eBRG luq9wTEAjhqYyBb5xZH+EvhHWLL3/QjzHHEw0ZtKhyovrE0+P+vKbELtcxR6tHZNWp4iwQcMZ kWwZ7IVEU+KnqEImD8jIT5nHuP/KmRN/4634DVAGHeNNcibm+W7Bw5aVqThcnvS6BRmCHZsdO vrv4bvo Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 2 Jan 2016 21:40:10 +0100 Omit explicit initialisation at the beginning for one local variable that is redefined before its first use. Signed-off-by: Markus Elfring --- drivers/nfc/mei_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/mei_phy.c b/drivers/nfc/mei_phy.c index 3c74028..99fd87d 100644 --- a/drivers/nfc/mei_phy.c +++ b/drivers/nfc/mei_phy.c @@ -105,7 +105,7 @@ static int mei_nfc_if_version(struct nfc_mei_phy *phy) { struct mei_nfc_cmd cmd; - struct mei_nfc_reply *reply = NULL; + struct mei_nfc_reply *reply; struct mei_nfc_if_version *version; size_t if_version_length; int bytes_recv, r;