[PATCH] xen/balloon: Remove unused pr_fmt() macro

From: Daniel Kiper
Date: Mon Sep 08 2014 - 09:24:18 EST


Remove unused pr_fmt() macro. Additionally, remove surplus empty
lines which left after earlier various fixes and cleanups.

Signed-off-by: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
---
drivers/xen/balloon.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index 5c660c7..08417b3 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -36,8 +36,6 @@
* IN THE SOFTWARE.
*/

-#define pr_fmt(fmt) "xen:" KBUILD_MODNAME ": " fmt
-
#include <linux/cpu.h>
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -84,7 +82,6 @@ enum bp_state {
BP_ECANCELED
};

-
static DEFINE_MUTEX(balloon_mutex);

struct balloon_stats balloon_stats;
@@ -94,7 +91,6 @@ EXPORT_SYMBOL_GPL(balloon_stats);
static xen_pfn_t frame_list[PAGE_SIZE / sizeof(unsigned long)];
static DEFINE_PER_CPU(struct page *, balloon_scratch_page);

-
/* List of ballooned pages, threaded through the mem_map array. */
static LIST_HEAD(ballooned_pages);

@@ -616,7 +612,6 @@ static int alloc_balloon_scratch_page(int cpu)
return 0;
}

-
static int balloon_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
{
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/