Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753173AbcKZBae (ORCPT ); Fri, 25 Nov 2016 20:30:34 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:58438 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbcKZBa0 (ORCPT ); Fri, 25 Nov 2016 20:30:26 -0500 Date: Fri, 25 Nov 2016 20:30:17 -0500 (EST) Message-Id: <20161125.203017.430757314871566294.davem@davemloft.net> To: dan.carpenter@oracle.com Cc: saeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch] net/mlx5: remove a duplicate condition From: David Miller In-Reply-To: <20161124110345.GC17225@mwanda> References: <20161124110345.GC17225@mwanda> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) 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]); Fri, 25 Nov 2016 16:30:56 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 289 Lines: 9 From: Dan Carpenter Date: Thu, 24 Nov 2016 14:03:45 +0300 > We verified that MLX5_FLOW_CONTEXT_ACTION_COUNT was set on the first > line of the function so we don't need to check again here. > > Signed-off-by: Dan Carpenter Applied.