[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5688397F.50701@users.sourceforge.net>
Date: Sat, 2 Jan 2016 21:56:31 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-wireless@...r.kernel.org,
Aloisio Almeida Jr <aloisio.almeida@...nbossa.org>,
Lauro Ramos Venancio <lauro.venancio@...nbossa.org>,
Samuel Ortiz <sameo@...ux.intel.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 3/3] NFC-mei_phy: Delete an unnecessary variable
initialisation in mei_nfc_if_version()
From: Markus Elfring <elfring@...rs.sourceforge.net>
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 <elfring@...rs.sourceforge.net>
---
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;
--
2.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists