[PATCH v2] net: Mellanox: Delete unnecessary checks before the function call vunmap

2015-02-09 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 9 Feb 2015 11:10:41 +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

Re: [PATCH v2] net: Mellanox: Delete unnecessary checks before the function call vunmap

2015-02-09 Thread David Miller
From: SF Markus Elfring elfr...@users.sourceforge.net Date: Mon, 09 Feb 2015 11:21:26 +0100 From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 9 Feb 2015 11:10:41 +0100 The vunmap() function performs also input parameter validation. Thus the test around the call is not needed.