Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2013342pxb; Sat, 14 Nov 2020 09:54:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+1pblIHzPX42qv13WBPRipJUT2U/1s/CObLZvrXLucqniPi4+orM7jZvhdmL5UXtmSd0y X-Received: by 2002:a50:c28a:: with SMTP id o10mr8226886edf.222.1605376446608; Sat, 14 Nov 2020 09:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605376446; cv=none; d=google.com; s=arc-20160816; b=PjrKJl87kgOw3Y9a+lbyRMwn14pcUSlkdW+DYFypWjqrVG5TqVdYfhBqrRD2ml/cx5 FoI8VSl14c6HfqTaDJeV8ZsvY+GK+8rsUKMxPa20bfKsbLqDVnaL+Kbb7/BTDBK/ywvz 1xOXgstx3WHO12fddbU+6ke0eNWlAJKC8Y4emkS9XqBN5FFHfT87rTt9dbhePvwbuDo0 mUtJj+A0dqsu6pbG400V+eO8+DNleOoAJSpkSszv0hV+2/TuI4TQC5g0U/pcLDPeT0Ga vW1xZj4XdCIe4OGP/fczzZD7eRH1vGjHmW4aCtcntIMyNr/1HHdr4Z6H82OCyvItkz2D 5C1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=xfmcJqVfQ/8n3A6Sed6Ji2i0fapYVEmOvt5wC9FHeyk=; b=IJfZTbpvtCoCKK9BbBwSPgtCU9p7xZ219FvcLttKkNKTdyiVeCWfl22A8Jc7JmpsY3 0Eg0B2zAeHS3a+k0D6owpoKTbTrkDSqi5IwtaVseH/swlZ7YvxNs4Vek+5vr2CB3Gwlc +7w2x26LO67C2gxaoj72qddVwTFW/Q92DIClKzDH1mECRnhA1GxEQP6cI4V70zq9BnWP pfTBWge3EiZZTyzHeakyln91xGG7DNRFW9Eq2MSvtC6FeRhdGSNSKIOXJdb9aitVl2Cr jpD7sFdmvOujzcxolO9Nscxdk4JmM4p3CzaDUZs0OkEZzPybFksB69ZIHmMFr4j8RXYo 9sLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="eXkJ/JG/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si2104791edp.41.2020.11.14.09.53.43; Sat, 14 Nov 2020 09:54:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="eXkJ/JG/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726177AbgKNRuR (ORCPT + 99 others); Sat, 14 Nov 2020 12:50:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:40400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbgKNRuQ (ORCPT ); Sat, 14 Nov 2020 12:50:16 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (c-67-180-217-166.hsd1.ca.comcast.net [67.180.217.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EEDAA22252; Sat, 14 Nov 2020 17:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605376215; bh=SWL+ZL/QchtfDwjUMZodHvzkWbW19llhLzd7xEw15z8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eXkJ/JG/lb8AHgkwSG1/YYNwVsROtJ2Ib1RDHuDO2fcFmOO6Szur85ri6Et2qy1iZ a+I5boo0OZro7KlX/QafbTO6LweuSI+3l08NAZDypYbLfdrQmfgtV06VMEGhjHtfjU HgxgCXinhQWkEqNMX+YVKkqggbmW87p0a9NRQw1E= Date: Sat, 14 Nov 2020 09:50:14 -0800 From: Jakub Kicinski To: Zou Wei Cc: , , , Subject: Re: [PATCH -next] cxgb4: Remove unused variable ret Message-ID: <20201114095014.4b3fc7c6@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1605346706-23782-1-git-send-email-zou_wei@huawei.com> References: <1605346706-23782-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 14 Nov 2020 17:38:26 +0800 Zou Wei wrote: > This patch fixes below warning reported by coccicheck: > > ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3284:5-8: Unneeded variable: "ret". Return "0" on line 3301 > > Signed-off-by: Zou Wei Some macro uses it implicitly, this breaks the build.