summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-03-29 14:38:35 -0700
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-05 16:30:51 -0500
commitb5d33d088f45bb62fdaaf1755da05aa5524a3a8f (patch)
treec27b2e5c7f3a329ad768ee388cce53804c07fc0e /drivers
parenta39bda27b35266beae945f48e0b6ab58d06a17d5 (diff)
downloadlinux-b5d33d088f45bb62fdaaf1755da05aa5524a3a8f.tar.gz
linux-b5d33d088f45bb62fdaaf1755da05aa5524a3a8f.tar.bz2
linux-b5d33d088f45bb62fdaaf1755da05aa5524a3a8f.zip
xen/xenbus: clean up noise in xenbus_probe_backend.c
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> [corresponds to 98b833aaf81e 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')
-rw-r--r--drivers/xen/xenbus/xenbus_probe_backend.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_backend.c b/drivers/xen/xenbus/xenbus_probe_backend.c
index a3cc5351fe29..9b9dd36bb1c4 100644
--- a/drivers/xen/xenbus/xenbus_probe_backend.c
+++ b/drivers/xen/xenbus/xenbus_probe_backend.c
@@ -267,10 +267,8 @@ static int backend_probe_and_watch(struct notifier_block *notifier,
{
/* Enumerate devices in xenstore and watch for changes. */
xenbus_probe_devices(&xenbus_backend);
- printk(KERN_CRIT "%s devices probed ok\n", __func__);
register_xenbus_watch(&be_watch);
- printk(KERN_CRIT "%s watch add ok ok\n", __func__);
- printk(KERN_CRIT "%s all done\n", __func__);
+
return NOTIFY_DONE;
}
@@ -285,11 +283,8 @@ static int __init xenbus_probe_backend_init(void)
/* Register ourselves with the kernel bus subsystem */
err = bus_register(&xenbus_backend.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);