commit | d90434bb2a635f4446cfab389bb041752796ea5d | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed May 11 07:45:05 2016 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon May 23 15:18:00 2016 +0800 |
tree | b21c9d63af195b844048b43986d2292f72dca7cb | |
parent | 680702eaffbd521d484ab9cef0594ec28a6e8707 [diff] |
x86: acpi: Remove header length check when writing tables Before moving 'current' pointer during ACPI table writing, we always check the table length to see if it is larger than the table header. Since our purpose is to generate valid tables, the check logic is always true, which can be avoided. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>