]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: balloon: separate out common code between remove and freeze functions
authorAmit Shah <amit.shah@redhat.com>
Thu, 26 Apr 2012 19:15:57 +0000 (00:45 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 May 2012 02:46:11 +0000 (12:16 +0930)
commit63f3ebf735f0430acd6781e71326e82033d3930f
tree65d5850e949fd6b1f304f28af51cc8ca0ae84d64
parent1ea827c245811e5842156814853b07a2a93f185f
virtio: balloon: separate out common code between remove and freeze functions

The remove and freeze functions have a lot of shared code; put it into a
common function that gets called by both.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_balloon.c