aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xen-balloon.c')
-rw-r--r--drivers/xen/xen-balloon.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/xen/xen-balloon.c b/drivers/xen/xen-balloon.c
index 39e7ef8d3957..79865b8901ba 100644
--- a/drivers/xen/xen-balloon.c
+++ b/drivers/xen/xen-balloon.c
@@ -33,7 +33,9 @@
33#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 33#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
34 34
35#include <linux/kernel.h> 35#include <linux/kernel.h>
36#include <linux/module.h> 36#include <linux/errno.h>
37#include <linux/mm_types.h>
38#include <linux/init.h>
37#include <linux/capability.h> 39#include <linux/capability.h>
38 40
39#include <xen/xen.h> 41#include <xen/xen.h>
@@ -109,14 +111,6 @@ static int __init balloon_init(void)
109} 111}
110subsys_initcall(balloon_init); 112subsys_initcall(balloon_init);
111 113
112static void balloon_exit(void)
113{
114 /* XXX - release balloon here */
115 return;
116}
117
118module_exit(balloon_exit);
119
120#define BALLOON_SHOW(name, format, args...) \ 114#define BALLOON_SHOW(name, format, args...) \
121 static ssize_t show_##name(struct device *dev, \ 115 static ssize_t show_##name(struct device *dev, \
122 struct device_attribute *attr, \ 116 struct device_attribute *attr, \
@@ -250,5 +244,3 @@ static int register_balloon(struct device *dev)
250 244
251 return 0; 245 return 0;
252} 246}
253
254MODULE_LICENSE("GPL");