aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-02-28 10:06:09 -0500
committerMichael S. Tsirkin <mst@redhat.com>2018-03-19 21:17:39 -0400
commit59ecab182faf84e76f4a07fee904d41e41f4780c (patch)
tree0d23713045754156bb96d43b3f6cdb5cee3a29dd
parent3d47a34ba6761a64b78a8b89f6bbe93b4e8455f1 (diff)
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>
-rw-r--r--drivers/firmware/qemu_fw_cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 00ad9b862414..0cc71d028ae3 100644
--- a/drivers/firmware/qemu_fw_cfg.c
+++ b/drivers/firmware/qemu_fw_cfg.c
@@ -77,8 +77,8 @@ static void fw_cfg_sel_endianness(u16 key)
77} 77}
78 78
79/* read chunk of given fw_cfg blob (caller responsible for sanity-check) */ 79/* read chunk of given fw_cfg blob (caller responsible for sanity-check) */
80static inline void fw_cfg_read_blob(u16 key, 80static void fw_cfg_read_blob(u16 key,
81 void *buf, loff_t pos, size_t count) 81 void *buf, loff_t pos, size_t count)
82{ 82{
83 u32 glk = -1U; 83 u32 glk = -1U;
84 acpi_status status; 84 acpi_status status;