summaryrefslogtreecommitdiff
path: root/drivers/hv/ring_buffer.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-12-15 06:02:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-15 06:27:30 +0300
commit667d374064b0cc48b6122101b287908d1b392bdb (patch)
tree98f9289da0d4309082a423daa430b141daa50fbc /drivers/hv/ring_buffer.c
parentb5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (diff)
downloadlinux-667d374064b0cc48b6122101b287908d1b392bdb.tar.xz
Drivers: hv: remove code duplication between vmbus_recvpacket()/vmbus_recvpacket_raw()
vmbus_recvpacket() and vmbus_recvpacket_raw() are almost identical but there are two discrepancies: 1) vmbus_recvpacket() doesn't propagate errors from hv_ringbuffer_read() which looks like it is not desired. 2) There is an error message printed in packetlen > bufferlen case in vmbus_recvpacket(). I'm removing it as it is usless for users to see such messages and /vmbus_recvpacket_raw() doesn't have it. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions