aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorSasha Levin <levinsasha928@gmail.com>2011-11-03 04:20:04 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 00:14:42 -0500
commit1e214a5c1a7e901fc8e98ad6ef84f11005f9ee9d (patch)
treea1d22d7ac078947df76a863aec10e7a20d95f2cd /drivers/virtio
parent7b21e34fd1c272e3a8c3846168f2f6287a4cd72b (diff)
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')
-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 94fd738a7741..f64ff185b8b5 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -1,4 +1,5 @@
1/* Virtio balloon implementation, inspired by Dor Loar and Marcelo 1/*
2 * Virtio balloon implementation, inspired by Dor Laor and Marcelo
2 * Tosatti's implementations. 3 * Tosatti's implementations.
3 * 4 *
4 * Copyright 2008 Rusty Russell IBM Corporation 5 * Copyright 2008 Rusty Russell IBM Corporation
@@ -17,7 +18,7 @@
17 * along with this program; if not, write to the Free Software 18 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */ 20 */
20//#define DEBUG 21
21#include <linux/virtio.h> 22#include <linux/virtio.h>
22#include <linux/virtio_balloon.h> 23#include <linux/virtio_balloon.h>
23#include <linux/swap.h> 24#include <linux/swap.h>
@@ -149,7 +150,6 @@ static void leak_balloon(struct virtio_balloon *vb, size_t num)
149 vb->num_pages--; 150 vb->num_pages--;
150 } 151 }
151 152
152
153 /* 153 /*
154 * Note that if 154 * Note that if
155 * virtio_has_feature(vdev, VIRTIO_BALLOON_F_MUST_TELL_HOST); 155 * virtio_has_feature(vdev, VIRTIO_BALLOON_F_MUST_TELL_HOST);