Received: by 10.223.164.202 with SMTP id h10csp116836wrb; Thu, 30 Nov 2017 07:45:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMZBRMgSMiWvDV2UNCMiBw3JJdEk4LSi/b8uQZvbBjc6a2ddQQUUrlNemITtT5iWXIg1hMyy X-Received: by 10.84.131.227 with SMTP id d90mr2968833pld.117.1512056750619; Thu, 30 Nov 2017 07:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512056750; cv=none; d=google.com; s=arc-20160816; b=iI3qnFPCEfY52nDWjOukDtal1jBtkYv2fIDuMRV6JzrqdeMNgpeiGKWsowYFv5+zMG TS5AfneyAoXp3Gepq7XIh7FoXEsBEbI1X7lNAjaYi/1T8YTAvmZWKshegGpYhgx1J6nP Ano9WrW71DOwxH9s9bwkS2svPuPxalMi9jXZbwseLGr2XILa85+FyH79G5dj+ywM0bgQ 5YnIv6oZDGurxrEDIAQD/T8XbcPwFSOdZIjZa6DwpvP2U1bX3R5/L4vVRyW8B3qAVVGL BtjvvxirvdsAyMiW53m4Yc6RkomVevr/cNp926NCN1/ruodpBe8IyCy076z8btM8Z8EW ohjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=gL3nY7mYK+SWKmOb1csdebApUEU1YWkZQpCSHnoosEo=; b=DetGv/HIImPCBZh2t5vesgQhy3RhqiMgER0MShkE/TKA9mhcsBqcrAHI95Ro8D1vHt nBaaqSQKl/Z7FJeJYDH81+2YWb5bPkzVpm0udMt5v36nvET3ONy4QSujUUtGmz9VwXPx Ne+DlJjxT9oCQfwlzwX8YDlctz5DUa9U+MWIwcPTDCTT0usypv416pa+lwW5qKLNTfyM NWzDMj19nty94ROPyWGslhH3ekPb0U6sT9n74N4/EskirT1aUTNScP79e+C1wN0l2fgJ od3aShT6VKHNN1HU8FyZ7UsqUY0/b9+GI422XB+zp9ZLgrB1jEl+kflH+Qn6yXek/mwt fczA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kZkUfnLO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j191si3227404pgc.88.2017.11.30.07.45.37; Thu, 30 Nov 2017 07:45:50 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kZkUfnLO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753032AbdK3Pod (ORCPT + 99 others); Thu, 30 Nov 2017 10:44:33 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33873 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbdK3PoC (ORCPT ); Thu, 30 Nov 2017 10:44:02 -0500 Received: by mail-pg0-f65.google.com with SMTP id j4so3151355pgp.1; Thu, 30 Nov 2017 07:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gL3nY7mYK+SWKmOb1csdebApUEU1YWkZQpCSHnoosEo=; b=kZkUfnLOSZA1tQ3LHmKxCSZDB8rraggr3dMMxmmTYGa7KaP2JTaF7+KB5lxb8xzLUU gX9YS5t/1S3eZs1kF2BCWDgDBqCTUSaYZ0M8D+ugQ6nr9FYBlCaKrs1UwuvMo/4vmAIP UVNz88XEvlJrVO1iaNQwyUEU3hNbwNgiuKMYAI/yv8NtYPVBz+euD081p+z0/pE+npK2 /SFdTIbbVhoLbCFVN0fkiLj4PZRoYa/LpZJYEwZdEULNEeZhL+N6gDqGJZJ0A1whO1fL 1NRH6E4wcXs6bSfa21UNhYYjnZEWr2FHuRPiWXKkaHmtx0bi4ODFyWGJhkyPd4dZKook PRGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gL3nY7mYK+SWKmOb1csdebApUEU1YWkZQpCSHnoosEo=; b=BxF541zIRBp6BvwsCB8iv57IgyARchJIUKfCwxanlte+BU5HH986z/kxULEQleMnyY HS5VDKmk1+CphIQvwfpANBRk/ESjL8Mt6HGeqY9D5+NK7MmS8HiT+eOzQTZw3oZPQbHN M7X5EOfNR9u4t3lpwDeJTlQFl0rTHEnscXQnm/yK4qZwBvPlr7duQ9pvfiGgaUydn1Jo pZVhLhUuJTkjf0QlOfFGeCVGy+Dbg3DbSMV3MStPapTIGcmBsCZpubMUh+kyxvHrR4q0 nnReBzkPfUXcp5HyrxsQF9RcnPp1sSFSKq7sEk+Ax31JwyxB11RzoueVAdOFqzgRFEIX 1wtg== X-Gm-Message-State: AJaThX7eUqBDEWeQ/E/Hk6JUYVUHQSEzVHsiM+L/6xp9K6W29VV8iVCD BXspiFQaBWsy63t8s9JDdPQ= X-Received: by 10.101.70.70 with SMTP id k6mr2735090pgr.292.1512056641986; Thu, 30 Nov 2017 07:44:01 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id f79sm8687440pfd.45.2017.11.30.07.43.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 07:44:01 -0800 (PST) From: Arvind Yadav To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, samuel@sortiz.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, netdev@vger.kernel.org Subject: [PATCH 3/3] staging: irda: Remove unnecessary 'err' initialization. Date: Thu, 30 Nov 2017 21:13:36 +0530 Message-Id: <1512056616-21065-4-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512056616-21065-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1512056616-21065-1-git-send-email-arvind.yadav.cs@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here, variable 'err' is already initialised. So no need to reinitialize. Signed-off-by: Arvind Yadav --- drivers/staging/irda/drivers/pxaficp_ir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/irda/drivers/pxaficp_ir.c b/drivers/staging/irda/drivers/pxaficp_ir.c index a97ce04..6c77370 100644 --- a/drivers/staging/irda/drivers/pxaficp_ir.c +++ b/drivers/staging/irda/drivers/pxaficp_ir.c @@ -807,7 +807,6 @@ static int pxa_irda_start(struct net_device *dev) * Open a new IrLAP layer instance. */ si->irlap = irlap_open(dev, &si->qos, "pxa"); - err = -ENOMEM; if (!si->irlap) goto err_irlap; -- 2.7.4 From 1593182825963470912@xxx Fri Feb 23 09:19:02 +0000 2018 X-GM-THRID: 1585255511557675077 X-Gmail-Labels: Inbox,Category Forums,Downloaded_2018-02