summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_util.c
diff options
context:
space:
mode:
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>2020-12-09 08:08:23 +0100
committerWei Liu <wei.liu@kernel.org>2021-02-05 09:55:42 +0000
commit9c400d3548c39378327268fb18112b229f91b220 (patch)
tree6b804c66b242aea0832caefb41e963518f1b9001 /drivers/hv/hv_util.c
parente99c4afbee07e9323e9191a20b24d74dbf815bdf (diff)
downloadlinux-9c400d3548c39378327268fb18112b229f91b220.tar.bz2
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/hv/hv_util.c')
0 files changed, 0 insertions, 0 deletions