]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_ring: put split ring functions together
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:20 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commita24f799ea3efb4644912f99e104291898c013eb4
treeeb0fc8146f95a1e9f0bb979ab9213092b31849f9
parent2575e6e3422f8f4f7edec4147fb43eb857b798d6
virtio_ring: put split ring functions together

Put the xxx_split() functions together to make the
code more readable and avoid misuse after introducing
the packed ring. There is no functional change.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c