Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965736AbbBEIeH (ORCPT ); Thu, 5 Feb 2015 03:34:07 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:42249 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756726AbbBEIeF (ORCPT ); Thu, 5 Feb 2015 03:34:05 -0500 Date: Thu, 05 Feb 2015 00:34:04 -0800 (PST) Message-Id: <20150205.003404.261962007607296519.davem@davemloft.net> To: elfring@users.sourceforge.net Cc: eli@mellanox.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, julia.lawall@lip6.fr Subject: Re: [PATCH] net: Mellanox: Delete unnecessary checks before the function call "vunmap" From: David Miller In-Reply-To: <54D22B29.3020200@users.sourceforge.net> References: <5317A59D.4@users.sourceforge.net> <54D22B29.3020200@users.sourceforge.net> X-Mailer: Mew version 6.6 on Emacs 24.4 / 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.7 (shards.monkeyblade.net [149.20.54.216]); Thu, 05 Feb 2015 00:34:04 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 19 From: SF Markus Elfring Date: Wed, 04 Feb 2015 15:22:33 +0100 > From: Markus Elfring > Date: Wed, 4 Feb 2015 15:17:00 +0100 > > The vunmap() function performs also input parameter validation. > Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring This does not apply cleanly to the net-next tree, please respin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/