From: Ivan Khoronzhuk Date: Wed, 18 Feb 2015 11:33:21 +0000 (+0200) Subject: firmware: dmi_scan: Use direct access to static vars X-Git-Tag: omap-for-v4.1/fixes-rc1~200^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552e19d8764aeea3ecdf6cf29e22d6b99a505091;p=pandora-kernel.git 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 Signed-off-by: Matt Fleming --- Reading git-diff-tree failed