From: Roy Franz Date: Sun, 22 Sep 2013 22:45:38 +0000 (-0700) Subject: efi: Allow efi_free() to be called with size of 0 X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~32^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1cadb05bba2293b4575c8cab275313d181d94f;p=pandora-kernel.git efi: Allow efi_free() to be called with size of 0 Make efi_free() safely callable with size of 0, similar to free() being callable with NULL pointers, and do nothing in that case. Remove size checks that this makes redundant. This also avoids some size checks in the ARM EFI stub code that will be added as well. Signed-off-by: Roy Franz Signed-off-by: Matt Fleming --- Reading git-diff-tree failed