提交 59ecab18 编写于 作者: M Marc-André Lureau 提交者: Michael S. Tsirkin

fw_cfg: remove inline from fw_cfg_read_blob()

The function is not small and getting bigger.

Let the compiler decide instead. No profiling done, hopefully
unnecessary.
Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 3d47a34b
...@@ -77,8 +77,8 @@ static void fw_cfg_sel_endianness(u16 key) ...@@ -77,8 +77,8 @@ static void fw_cfg_sel_endianness(u16 key)
} }
/* read chunk of given fw_cfg blob (caller responsible for sanity-check) */ /* read chunk of given fw_cfg blob (caller responsible for sanity-check) */
static inline void fw_cfg_read_blob(u16 key, static void fw_cfg_read_blob(u16 key,
void *buf, loff_t pos, size_t count) void *buf, loff_t pos, size_t count)
{ {
u32 glk = -1U; u32 glk = -1U;
acpi_status status; acpi_status status;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册