From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EE3111BFF0F for ; Wed, 30 Aug 2017 17:37:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E7F4D86BA1 for ; Wed, 30 Aug 2017 17:37:26 +0000 (UTC) Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1rMKwSf09M3f for ; Wed, 30 Aug 2017 17:37:26 +0000 (UTC) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0065.outbound.protection.outlook.com [104.47.32.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 22BD786B4D for ; Wed, 30 Aug 2017 17:37:26 +0000 (UTC) From: David Kershner Subject: [PATCH 19/28] staging: unisys: visorbus: remove uneeded initializations Date: Wed, 30 Aug 2017 13:36:26 -0400 Message-ID: <6b087204335a1df9ca961d96aef00e88bcaa6aa6.1504109643.git-series.david.kershner@unisys.com> In-Reply-To: References: MIME-Version: 1.0 List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org, driverdev-devel@linuxdriverproject.org, sparmaintainer@unisys.com, jes.sorensen@gmail.com Several variables were initialized when not needed. Remove the extraneous initializations. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index a602ba6..090818f 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -312,8 +312,8 @@ static void *parser_string_get(struct parser_context *ctx) { u8 *pscan; unsigned long nscan; - int value_length = -1; - void *value = NULL; + int value_length; + void *value; int i; pscan = ctx->curr; -- git-series 0.9.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel