diff options
author | 2015-12-14 19:02:00 -0800 | |
---|---|---|
committer | 2015-12-14 19:27:30 -0800 | |
commit | 667d374064b0cc48b6122101b287908d1b392bdb (patch) | |
tree | 98f9289da0d4309082a423daa430b141daa50fbc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Drivers: hv: ring_buffer: remove code duplication from hv_ringbuffer_peek/read() (diff) | |
download | linux-dev-667d374064b0cc48b6122101b287908d1b392bdb.tar.xz linux-dev-667d374064b0cc48b6122101b287908d1b392bdb.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions