From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net/rocker: Remove unreachable return instruction Date: Sun, 28 Jan 2018 10:15:38 -0500 (EST) Message-ID: <20180128.101538.2256743545133932383.davem@davemloft.net> References: <20180128135438.29245-1-leon@kernel.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jiri@resnulli.us, netdev@vger.kernel.org, arkadis@mellanox.com, leonro@mellanox.com To: leon@kernel.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:48134 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751842AbeA1PPp (ORCPT ); Sun, 28 Jan 2018 10:15:45 -0500 In-Reply-To: <20180128135438.29245-1-leon@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Leon Romanovsky Date: Sun, 28 Jan 2018 15:54:38 +0200 > From: Leon Romanovsky > > The "return 0" instruction follows other return instruction > and it makes it impossible to execute, hence remove it. > > Fixes: 00fc0c51e35b ("rocker: Change world_ops API and implementation to be switchdev independant") > Signed-off-by: Leon Romanovsky Applied, thanks.