diff options
author | Andrea Parri (Microsoft) <parri.andrea@gmail.com> | 2020-12-09 08:08:23 +0100 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-02-05 09:55:42 +0000 |
commit | 9c400d3548c39378327268fb18112b229f91b220 (patch) | |
tree | 6b804c66b242aea0832caefb41e963518f1b9001 /lib/vdso | |
parent | e99c4afbee07e9323e9191a20b24d74dbf815bdf (diff) |
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 'lib/vdso')
0 files changed, 0 insertions, 0 deletions