diff options
author | 2020-12-09 08:08:23 +0100 | |
---|---|---|
committer | 2021-02-05 09:55:42 +0000 | |
commit | 9c400d3548c39378327268fb18112b229f91b220 (patch) | |
tree | 6b804c66b242aea0832caefb41e963518f1b9001 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Drivers: hv: vmbus: Initialize memory to be sent to the host (diff) | |
download | wireguard-linux-9c400d3548c39378327268fb18112b229f91b220.tar.xz wireguard-linux-9c400d3548c39378327268fb18112b229f91b220.zip |
Drivers: hv: vmbus: Reduce number of references to message in vmbus_on_msg_dpc()
Simplify the function by removing various references to the hv_message
'msg', introduce local variables 'msgtype' and 'payload_size'.
Suggested-by: Juan Vazquez <juvazq@microsoft.com>
Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20201209070827.29335-3-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions