aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hv/channel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 064257e79f23..0b122f8c7005 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -780,7 +780,6 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer,
780{ 780{
781 struct vmpacket_descriptor desc; 781 struct vmpacket_descriptor desc;
782 u32 packetlen; 782 u32 packetlen;
783 u32 userlen;
784 int ret; 783 int ret;
785 bool signal = false; 784 bool signal = false;
786 785
@@ -795,7 +794,6 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer,
795 794
796 795
797 packetlen = desc.len8 << 3; 796 packetlen = desc.len8 << 3;
798 userlen = packetlen - (desc.offset8 << 3);
799 797
800 *buffer_actual_len = packetlen; 798 *buffer_actual_len = packetlen;
801 799