summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
authorSasha Levin <levinsasha928@gmail.com>2011-11-03 10:20:04 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 15:44:42 +1030
commit1e214a5c1a7e901fc8e98ad6ef84f11005f9ee9d (patch)
treea1d22d7ac078947df76a863aec10e7a20d95f2cd /drivers/virtio/virtio_balloon.c
parent7b21e34fd1c272e3a8c3846168f2f6287a4cd72b (diff)
downloadop-kernel-dev-1e214a5c1a7e901fc8e98ad6ef84f11005f9ee9d.zip
op-kernel-dev-1e214a5c1a7e901fc8e98ad6ef84f11005f9ee9d.tar.gz
virtio-balloon: Trivial cleanups
Trivial changes to remove forgotten junk, format comments, and correct names. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: virtualization@lists.linux-foundation.org Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r--drivers/virtio/virtio_balloon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 94fd738..f64ff18 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -1,4 +1,5 @@
-/* Virtio balloon implementation, inspired by Dor Loar and Marcelo
+/*
+ * Virtio balloon implementation, inspired by Dor Laor and Marcelo
* Tosatti's implementations.
*
* Copyright 2008 Rusty Russell IBM Corporation
@@ -17,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-//#define DEBUG
+
#include <linux/virtio.h>
#include <linux/virtio_balloon.h>
#include <linux/swap.h>
@@ -149,7 +150,6 @@ static void leak_balloon(struct virtio_balloon *vb, size_t num)
vb->num_pages--;
}
-
/*
* Note that if
* virtio_has_feature(vdev, VIRTIO_BALLOON_F_MUST_TELL_HOST);
OpenPOWER on IntegriCloud