Skip to content
Commit 552e19d8 authored by Ivan Khoronzhuk's avatar Ivan Khoronzhuk Committed by Matt Fleming
Browse files

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: default avatarIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 95be58df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment