Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4454336yba; Sun, 12 May 2019 13:24:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIx6jCCAxiSqQhZgEFP+iZEsGF/ykcKbCYxfvJ1/kY6dtZbSeXNd/vgoLtZ+F8cDgV0dqh X-Received: by 2002:a65:5003:: with SMTP id f3mr26461858pgo.336.1557692652039; Sun, 12 May 2019 13:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557692652; cv=none; d=google.com; s=arc-20160816; b=YGt2LOGF0DFBnDl5Q+cKYbkVGsqFtOqn68ddkxJwFCPZfu6Orxj47AVmQFIRoyBmhK RA9atQGnUfKPb3Pc1yXoW7uhcjirI79BuJULV9VRAD6QPryAjMeJDg2AU/OquxUrzCBk If4jzz6FwYqVU7kL5aOzMHbs66JIw8LZ/EHaS8W33wU/plVMebpOKIZB93LQf52k5idV N4dappbi/SLAdXKRiFS+pHouIIb/BuYCF9BgkWfb78cxV0JZ5dvpdc4NiPJcz4Ic36pD 5zsH0IHM8aNZNCOALdVP6moWS2JLoSupQQPxBuwizu86esXGHAUD3IHrFlT9Lt/sU6RS 6IPA== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=gNKL0TTOQgFuV9bx5RTqbrWbXb7ECnG+MWwVCy9UkYs=; b=jXfJPZnOE13+je+cOKPPvyOUFGmxxKo/8ZnGsXTles6CErwOdxnVbY0LxXwV/xLA27 r26FePqi+xDeYxPrsnCrkGiU8qRmI+ffkGBLYomqwwOLwvBQfSeuTqyY/0pW6QffI9Yh uvIcWSYstQoxTydN8JdbLne0VkkAH/8mjou6rDHE3gnplaU2Oyz5URxfOTZvrC0KZoDQ X6QsmnXu9nB0oLl/ULIiUQYsYS79pdX27WcQCcmMg2sHc5fSFCZsR+H7+X6x0WND/NFv 4gFG9f439exZlm7sYT38/xbTyPX6uuc/AbZxYFrAXfs4XhYTt7rL79E91IfcVeAhW91Z 5DuQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si12805467pgp.54.2019.05.12.13.23.55; Sun, 12 May 2019 13:24:12 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727096AbfELUVt (ORCPT + 99 others); Sun, 12 May 2019 16:21:49 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56774 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbfELUVt (ORCPT ); Sun, 12 May 2019 16:21:49 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d8]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 6B4B914BFDB5D; Sun, 12 May 2019 13:21:48 -0700 (PDT) Date: Sun, 12 May 2019 13:21:47 -0700 (PDT) Message-Id: <20190512.132147.2030976092394243720.davem@davemloft.net> To: hariprasad.kelam@gmail.com Cc: gerrit@erg.abdn.ac.uk, dccp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: dccp : proto: remove Unneeded variable "err" From: David Miller In-Reply-To: <20190512103949.GA2554@hari-Inspiron-1545> References: <20190512103949.GA2554@hari-Inspiron-1545> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 12 May 2019 13:21:48 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hariprasad Kelam Date: Sun, 12 May 2019 16:09:49 +0530 > Fix below issue reported by coccicheck > > > net/dccp/proto.c:266:5-8: Unneeded variable: "err". Return "0" on line > 310 > > Signed-off-by: Hariprasad Kelam Applied.