net/virtio: remove the redundant computing
authorZhiyong Yang <zhiyong.yang@intel.com>
Thu, 23 Feb 2017 07:11:42 +0000 (15:11 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 06:58:54 +0000 (08:58 +0200)
commitf53fe364d6d982a2f18bd941f4750721dd68739e
treea30ae24df5275c38ec297b81e9d2b0d077f677be
parent1b815b89599cdd9b54e5aa70f5b97088225b2bcc
net/virtio: remove the redundant computing

The minor change aims to remove the redundant computing and make
it easier to understand the code.

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
drivers/net/virtio/virtio_rxtx.c