From: Markus Elfring Date: Mon, 9 Feb 2015 10:10:41 +0000 (+0100) Subject: net: Mellanox: Delete unnecessary checks before the function call "vunmap" X-Git-Tag: fixes-v4.0-rc1~150^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d966d03a37f7f58abf12e87203d03f96950cfd0;p=pandora-kernel.git net: Mellanox: Delete unnecessary checks before the function call "vunmap" 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 Acked-by: Eli Cohen Signed-off-by: David S. Miller --- Reading git-diff-tree failed