diff options
author | Ivan Khoronzhuk | 2015-02-18 12:33:21 +0100 |
---|---|---|
committer | Matt Fleming | 2015-03-26 15:00:15 +0100 |
commit | 552e19d8764aeea3ecdf6cf29e22d6b99a505091 (patch) | |
tree | 6174dd9aeae063a12001455cbb6c6772bc69fbc2 /arch/x86/platform | |
parent | firmware: dmi_scan: Use full dmi version for SMBIOS3 (diff) | |
download | kernel-qcow2-linux-552e19d8764aeea3ecdf6cf29e22d6b99a505091.tar.gz kernel-qcow2-linux-552e19d8764aeea3ecdf6cf29e22d6b99a505091.tar.xz kernel-qcow2-linux-552e19d8764aeea3ecdf6cf29e22d6b99a505091.zip |
firmware: dmi_scan: Use direct access to static vars
There is no reason to pass static vars to function that can use
only them.
The dmi_table() can use only dmi_len and dmi_num static vars, so use
them directly. In this case we can freely change their type in one
place and slightly decrease redundancy.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/platform')
0 files changed, 0 insertions, 0 deletions