net/virtio: move bytes accounting to common function
authorIlya Maximets <i.maximets@samsung.com>
Mon, 3 Dec 2018 16:20:13 +0000 (19:20 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 18:17:42 +0000 (18:17 +0000)
commit81e5cdf19e583c742040d3be83b8cc79b451e243
treee73a69c9c7f29433351648dd0faa010c247e71c1
parent4a5140ab17d29e77eefa47b5cb514238e8e0c132
net/virtio: move bytes accounting to common function

There is no need to count 'bytes' separately.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
drivers/net/virtio/virtio_rxtx.c