From: Daniel Kiper <daniel.kiper@oracle.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Cc: boris.ostrovsky@oracle.com, david.vrabel@citrix.com,
konrad.wilk@oracle.com, Daniel Kiper <daniel.kiper@oracle.com>
Subject: [PATCH] xen/balloon: Remove unused pr_fmt() macro
Date: Mon, 8 Sep 2014 15:23:58 +0200 [thread overview]
Message-ID: <1410182638-18820-1-git-send-email-daniel.kiper@oracle.com> (raw)
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@oracle.com>
---
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
next reply other threads:[~2014-09-08 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 13:23 Daniel Kiper [this message]
2014-09-08 13:26 ` David Vrabel
2014-09-08 13:58 ` Daniel Kiper
2014-09-08 14:01 ` David Vrabel
2014-09-08 14:27 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410182638-18820-1-git-send-email-daniel.kiper@oracle.com \
--to=daniel.kiper@oracle.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome