Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966818AbbBDO7V (ORCPT ); Wed, 4 Feb 2015 09:59:21 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:47129 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966247AbbBDO7R (ORCPT ); Wed, 4 Feb 2015 09:59:17 -0500 From: Eli Cohen X-Google-Original-From: Eli Cohen Date: Wed, 4 Feb 2015 16:59:11 +0200 To: SF Markus Elfring Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: Re: [PATCH] net: Mellanox: Delete unnecessary checks before the function call "vunmap" Message-ID: <20150204145911.GA5152@mtldesk30> References: <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <54D22B29.3020200@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54D22B29.3020200@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 17 Acked-by: Eli Cohen On Wed, Feb 04, 2015 at 03:22:33PM +0100, SF Markus Elfring wrote: > 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 -- 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/