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)
commitc877bab5072c8f461397949babbac10e348ae70d
tree65d5850e949fd6b1f304f28af51cc8ca0ae84d64
parentc45b4166d9eaed612fa29acb041662aa4ceb2712
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