summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-03-30 01:38:54 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-06 00:30:56 +0300
commit0ff4fdf065101504cd84ac36924fcdad6641a4f7 (patch)
treeee2ad48030db76b9d67ed342ec97361f28b325bc /drivers/xen
parentb5d33d088f45bb62fdaaf1755da05aa5524a3a8f (diff)
downloadlinux-0ff4fdf065101504cd84ac36924fcdad6641a4f7.tar.xz
xen/xenbus: clean up noise in xenbus_probe_frontend.c
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> [corresponds to 616ff7a06a3f in git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/xenbus/xenbus_probe_frontend.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c
index 3a4236524768..60c311ab3190 100644
--- a/drivers/xen/xenbus/xenbus_probe_frontend.c
+++ b/drivers/xen/xenbus/xenbus_probe_frontend.c
@@ -249,10 +249,8 @@ static int frontend_probe_and_watch(struct notifier_block *notifier,
{
/* Enumerate devices in xenstore and watch for changes. */
xenbus_probe_devices(&xenbus_frontend);
- printk(KERN_CRIT "%s devices probed ok\n", __func__);
register_xenbus_watch(&fe_watch);
- printk(KERN_CRIT "%s watch add ok ok\n", __func__);
- printk(KERN_CRIT "%s all done\n", __func__);
+
return NOTIFY_DONE;
}
@@ -268,11 +266,8 @@ static int __init xenbus_probe_frontend_init(void)
/* Register ourselves with the kernel bus subsystem */
err = bus_register(&xenbus_frontend.bus);
- if (err) {
- printk(KERN_CRIT "%s didn't register bus!\n", __func__);
+ if (err)
return err;
- }
- printk(KERN_CRIT "%s bus registered ok\n", __func__);
register_xenstore_notifier(&xenstore_notifier);