From: Markus Elfring Date: Sun, 23 Nov 2014 17:48:15 +0000 (+0100) Subject: staging: android: ion: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698f140d67e0a92b6d4606c67fdf42b3853c34b6;p=pandora-kernel.git staging: android: ion: Deletion of unnecessary checks before two function calls The functions ion_heap_destroy() and vfree() perform 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed