[PATCH 08/17] Allow efi_free() to be called with size of 0, and do nothing in that case.

2013-08-06 Thread Roy Franz
Make efi_free() safely callable with size of 0, similar to free() being callable with NULL pointers. 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 ---

[PATCH 08/17] Allow efi_free() to be called with size of 0, and do nothing in that case.

2013-08-06 Thread Roy Franz
Make efi_free() safely callable with size of 0, similar to free() being callable with NULL pointers. 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 roy.fr...@linaro.org ---