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