]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
virtio: simplify the using of received in virtnet_poll
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 26 Mar 2015 07:39:45 +0000 (15:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 19:37:17 +0000 (12:37 -0700)
commitfaadb05f4b7f11b3063a20d7fc5afcbf1124dbeb
tree5ff54f85189b3520cee7a1aa93e9f2a24ea42df7
parent3556eaaab566e478a4ed68041a7cacfd8974662a
virtio: simplify the using of received in virtnet_poll

received is 0, no need to minus it and use "+=" to reassign it

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c