mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
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: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
3d47a34ba6
commit
59ecab182f
@ -77,8 +77,8 @@ static void fw_cfg_sel_endianness(u16 key)
|
||||
}
|
||||
|
||||
/* read chunk of given fw_cfg blob (caller responsible for sanity-check) */
|
||||
static inline void fw_cfg_read_blob(u16 key,
|
||||
void *buf, loff_t pos, size_t count)
|
||||
static void fw_cfg_read_blob(u16 key,
|
||||
void *buf, loff_t pos, size_t count)
|
||||
{
|
||||
u32 glk = -1U;
|
||||
acpi_status status;
|
||||
|
Loading…
Reference in New Issue
Block a user